🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
TAGS
20 tagsfeat: Enable "missing act" warnings in React 18 by default (#994)
fix(render): Actually hydrate with given ui (#988)
fix: Empty commit to force semantic-release
fix: Don't trigger "missing act" warnings when using `waitFor`+real timers (#980)
fix(TS): make wrapper allow a simple function comp (#966) Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
feat: Use concurrent React when available (#937) BREAKING CHANGE: If you have React 18 installed, we'll use the new [`createRoot` API](https://github.com/reactwg/react-18/discussions/5) by default which comes with a set of [changes while also enabling support for concurrent features](https://github.com/reactwg/react-18/discussions/4). To can opt-out of this change by using `render(ui, { legacyRoot: true } )`. But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.
docs: add ImADrafter as a contributor for doc (#961) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
feat: Bump @testing-library/dom BREAKING CHANGE: Bump `@testing-library/dom` to 8.0.0. Please check out the [`@testing-library/dom@8.0.0` release page](https://github.com/testing-library/dom-testing-library/releases/tag/v8.0.0) for a detailed list of breaking changes.
fix: Update @testing-library/dom (#931)
feat: Drop support for node 10 (#930) BREAKING CHANGE: node 10 is no longer supported. It reached its end-of-life on 30.04.2021.
fix: Bump testing-library/dom to v8 alpha (#923)
docs: add jhnns as a contributor (#912) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
docs: add solufa as a contributor (#872) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
docs: add sanchit121 as a contributor (#858) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
fix(types): Allow all HTML and SVG elements in render. (#833) Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>