testing-library/react-testing-library
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
JavaScriptMIT
Pinned issues
Issues
- 3
- 0
Error test Component with setTimeout and vitest
#1334 opened by kyrylsherstobaiev - 1
- 5
- 5
V15 causes tests to throw `act` warnings
#1310 opened by ronny-lark - 2
yarn add --dev @testing-library/react
#1321 opened by PeTty88cze - 1
Unexpected token 'export' error when running Jest tests with React Native Testing Library
#1332 opened by vkuprin - 3
- 5
`rerender` does not reset state
#1331 opened by saiNaruUFL - 0
Issues
#1328 opened by theaekapipoo - 0
Bug report
#1327 opened by theaekapipoo - 3
When `container` is `document`, cleanup steps fails with "TypeError: Cannot read properties of null (reading 'removeChild')"
#1329 opened by quisido - 2
Hook testing: useReducer doesn't updating state when the reducer action is executed
#1326 opened by jpbnetley - 1
- 1
`ReactDOMTestUtils.act` is deprecated
#1322 opened by angelod1as - 2
findBy* query fails but waitFor passes
#1276 opened by hyalen - 0
TypeScript: unexpected type errors when `exactOptionalPropertyTypes` is enabled
#1320 opened by OliverJAsh - 1
act shows up as deprecated when using react 18.3
#1316 opened by ambarvm - 2
Make @types/react-dom a Peer dependency
#1318 opened by daniel-nagy - 2
Seriously guys, how the fuck do I get started here?
#1317 opened by josh-i386g - 4
- 4
TypeScript error with skipLibCheck false
#1311 opened by eps1lon - 0
Regression: Types of property `hydrate` are incompatible in `renderHook` options
#1312 opened by samettttt - 2
Support React 18.3
#1314 opened by christopherschroer - 3
Regression: Options not available in `renderHook`
#1307 opened by icatalina - 3
asyncWrapper is not executed with act support
#1302 opened by lionskape - 2
getByRole ignores role "link" on achors without href attribute or falsy value
#1306 opened by MarcoSmeuldersVisma - 0
Generics not supported when using bound functions
#1303 opened by JohnMarsden24 - 1
- 1
- 1
React Testing library `unmount` is not working
#1292 opened by bhushanlaware - 2
Linting fails as "react-test-renderer" functions are interpreted as functions from "testing-library/react"
#1285 opened by Sembauke - 1
use rerender props in wrapper
#1284 opened by jjoselv - 2
SyntaxError: Cannot use import statement outside a module when using render or .tsx files
#1283 opened by Shishouille - 2
Unexpected element not found when adding accessibilityElementsHidden or importantForAccessibility
#1282 opened by berseck - 2
Snackbar not auto closing
#1278 opened by zeeshanjan82 - 0
Test results and "screen.debug" do not match
#1279 opened by file-get-contents - 12
Types are breaking
#1275 opened by Akallabet - 5
Intial props not working when rendering a hook (or I've done something wrong.)
#1277 opened by gbatterbee - 0
- 9
Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'
#1267 opened by jandresampaiowiliot - 4
queries returned by render are not scoped
#1268 opened by david-bezero - 3
ReactElement not assignable
#1266 opened by AhmedHadjTaieb - 4
calling rerender causes remounting
#1264 opened by kasir-barati - 3
Support complex aria-labelledby queries
#1260 opened by jossmac - 0
- 2
`result.current` shows `undefined` in console logger while rendering a custom hook
#1262 opened by meeowngit - 9
@testing-library/react run jest TypeError: (0 , _dom.configure) is not a function
#1259 opened by shashaMF - 2
Test waits for async apollo-client functions to resolve before making assertions
#1256 opened by devLana - 0