SIGN IN SIGN UP

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

0 0 1 JavaScript

TAGS

20 tags
v14.1.2

fix: revert missing hooks warnings (#1255)

v14.1.1

fix: log globals warning only once (#1252) Resolves #1249

v14.1.0

feat: add warnings when globals are missing (#1244) * feat: add warnings when globals are missing * revert the istanbul ignore removal * improve error message * Apply suggestions from code review Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> --------- Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>

v14.0.0-alpha.3

fix: Prevent "missing act" warning for queued microtasks (#1137) * Add intended behavior * fix: Prevent "missing act" warning for in-flight promises * Disable TL lint rules in tests * Implementation without macrotask * Now I member

v14.0.0

fix: Prevent "missing act" warning for queued microtasks (#1137) * Add intended behavior * fix: Prevent "missing act" warning for in-flight promises * Disable TL lint rules in tests * Implementation without macrotask * Now I member

v14.0.0-alpha.2

feat: Bump `@testing-library/dom` to 9.0.0 (#1177) BREAKING CHANGE: See https://github.com/testing-library/dom-testing-library/releases/tag/v9.0.0

v14.0.0-alpha.1

feat: Drop support for Node.js 12.x (#1169) BREAKING CHANGE: Minimum supported Node.js version is now 14.x

v13.5.0-alpha.1

feat: Drop support for Node.js 12.x (#1169)

v13.4.0

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

v13.3.0

feat: Use `globalThis` if available (#1070)

v13.2.0

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

v13.1.1

fix(TS): export interface RenderHookResult (#1049)

v13.1.0

feat: Add `renderHook` (#991) Co-authored-by: Michael Peyper <mpeyper7@gmail.com> Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>

v12.1.5

chore: Run release from 12.x branch (#1044)

v13.0.1

docs: add Nokel81 as a contributor for bug, code (#1043) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

v13.0.0

feat: Add support for React 18 (#1031) BREAKING CHANGE: Drop support for React 17 and earlier. We'll use the new [`createRoot` API](reactwg/react-18#5) by default which comes with a set of [changes while also enabling support for concurrent features](reactwg/react-18#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. Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>

v13.0.0-alpha.7

Merge branch 'main' into alpha

v12.1.4

fix: Match runtime type of baseElement in TypeScript types (#1023)

v13.0.0-alpha.6

fix: Resolve warning using the wrong react-dom entrypoint (#1018) BREAKING CHANGE: Drop support for React < 18.0.0-rc.1

v12.1.3

docs: add fmeum as a contributor for code, bug (#1016) Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>