``` "@testing-library/react": "^14.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", ``` ### Relevant code or config: I'm trying to switch from injected globals to import needed functions from `@jest/globals` i just add `insectGlobals: false` in `jest.config.ts` ### What you did: I added needed imports to test file and tests fails with errors like: ``` expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 ``` ### What happened: errors are reproduced **only if there are two or more tests** it looks like the render result is not reset and they are rendered into one document ### Reproduction: Here an repo with example of incorrect behavior https://github.com/krutoo/testing-library-react-jest-no-inject-globals