Skip to content

issues Search Results · repo:testing-library/react-testing-library language:JavaScript

Filter by

819 results
 (58 ms)

819 results

intesting-library/react-testing-library (press backspace or delete to remove)

!-- - Please fill out this template with all the relevant information so we can understand what s going on and fix the issue. We appreciate bugs filed and PRs submitted! - If your issue is regarding ...
  • MarcusWebDev
  • 1
  • Opened 
    on May 21
  • #1400

When NODE_ENV is set to production tests will fail with the following error: TypeError: React.act is not a function ❯ exports.act ../../node_modules/.pnpm/react-dom@19.1.0_react@19.1.0/node_modules/react-dom/cjs/react-dom-test-utils.production.js:20:16 ...
  • ziimakc
  • 1
  • Opened 
    on May 7
  • #1399

- @testing-library/react version: 16.1.0, 16.2.0 and 16.3.0 - Testing Framework and version: vitest 3.1.2 - DOM Environment: jsdom 26.1.0, happy-dom 17.4.4 (I tried both) - Node: v22.13.0 Relevant ...
  • Lukas-dev-threads
  • 1
  • Opened 
    on Apr 29
  • #1397

I m having an issue with my tests only working when run individually, but not when run together. I have a setup with RTL, Vitest and MSW. When I run a test it works correctly, but when I run a suite with ...
  • mintydev789
  • 3
  • Opened 
    on Apr 9
  • #1395

!-- - Please fill out this template with all the relevant information so we can understand what s going on and fix the issue. We appreciate bugs filed and PRs submitted! - If your issue is regarding ...
  • Shrikanth9
  • 1
  • Opened 
    on Apr 8
  • #1394

- @testing-library/react version: 16.3.0 - Testing Framework and version: node:test, 22.14.0 !-- Using Node.js built-in test runner -- - DOM Environment: jsdom 26.0.0 !-- Running tests in ...
enhancement
  • avivkeller
  • 3
  • Opened 
    on Apr 4
  • #1393

Here is my test code: // @vitest-environment jsdom import { useChatSessionFocus } from ./useChatSessionFocus ; import { act, renderHook } from @testing-library/react ; import { expect, it } from vitest ...
  • punkpeye
  • 2
  • Opened 
    on Apr 4
  • #1392

!-- - Please fill out this template with all the relevant information so we can understand what s going on and fix the issue. We appreciate bugs filed and PRs submitted! - If your issue is regarding ...
  • bernardobelchior
  • 6
  • Opened 
    on Mar 20
  • #1388

Description: Integrating vitest with a fresh nextJS application results in the following error: Error: Objects are not valid as a React child (found: object with keys {$$typeof, type, key, props, _owner, ...
  • jay-linumlabs
  • 1
  • Opened 
    on Mar 18
  • #1387

!-- - Please fill out this template with all the relevant information so we can understand what s going on and fix the issue. We appreciate bugs filed and PRs submitted! - If your issue is regarding ...
  • nstepien
  • 6
  • Opened 
    on Mar 8
  • #1385
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub