Demonstrates that DOM-based tests are 100-1000 times slower than React Element-based tests
npm install
npm test
npm run dev
- render
- useState
- click
- nested components
- shallow rendering
- props
- deep find helpers
- shallow find helpers
- useEffect
- compare speed to RTL: <0.2ms (300ms in Jest/jsdom, 40ms in Mocha/Firefox)
- async / timers, mock time, wait (fetch)
- find by text