SIGN IN SIGN UP

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.

0 0 18 JavaScript

TAGS

20 tags
v11.1.2

docs: add marcosvega91 as a contributor (#822) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

v11.1.1

fix: upgrade dependencies, typescript, @testing-library/dom etc (#816) Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>

v11.1.0

docs: add theashraf as a contributor (#800) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

v11.0.4

fix: Trigger ongot-/onlostpointercapture when calling got-/lostpointercapture (#786)

v11.0.3

fix: Trigger onPointerEnter/Leave when calling pointerEnter/Leave (#784)

v11.0.2

fix(cleanup): remove unnecessary async/await (#778)

v11.0.1

fix: Update typings for cleanup (#776)

v11.0.0-beta.1

feat: use act to flush instead of custom implementation (#768) BREAKING CHANGE: cleanup is now synchronous and wraps the unmounting process in `act`.

v10.4.9

fix: Bump @testing-library/dom to 7.22.3 (#766)

v10.4.8

fix(fireEvent): Make sure react dispatches focus/blur events (#758) * test: Run CI with experimental React * stable -> latest * fix(fireEvent): Make sure react dispatches focus/blur events * Remove todo

v10.4.7

fix(unmount): Flush useEffect cleanup functions syncronously (#746)

v10.4.6

fix(cleanup): remove scheduler code from flush-microtasks (#744) * test: reveal issue with the test generally * test: fix the test to actually test what we can test for * fix(cleanup): remove scheduler related code * chore: remove semver dep

v10.4.5

fix(flushMicroTasks): fallback to no scheduler (#739) Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

v10.4.4

docs: add MatanBobi as a contributor (#733) * docs: update README.md * docs: update .all-contributorsrc Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

v10.4.3

fix(cleanup): Cleanup should flush microtask queue after unmount (#632)

v10.4.2

fix(cleanup): microtask flushing now supports fake timers (#720)

v10.4.1

chore: remove deprecated assertion

v10.4.0

feat: force update of @testing-library/dom

v10.3.0

docs: add weyert as a contributor (#712) * docs: update README.md * docs: update .all-contributorsrc Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>