2.4.7 • Published 1 year ago
isolate-react v2.4.7
Test-drive react components and hooks
isolate-react
is the missing tool for test-driving your react components.
It's focused on speed and simplicity, has zero dependencies, doesn't require a DOM emulator, and supports any test runner.
Flexible support for whatever level of testing you prefer:
- Test react hooks
- Render a single component at a time (isolated/unit testing)
- Render multiple components toegether (integrated testing)
Low -friction:
- No virtual DOM or other tools to install
- Works with any test runner that runs in node (jest, mocha, tape, tap, etc.)
- Full hook support
- Easy access to set context values for testing
- Very fast
Render react components in isolation
- functional components that use hooks
- class components