You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Jest can not exit because of an open handle created by importing this lib (as described in the README).
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
● MESSAGEPORT
17 | import mockRNDeviceInfo from "react-native-device-info/jest/react-native-device-info-mock"
18 | import tempWrite from "temp-write"
> 19 | import "react-native-accessibility-engine"
| ^
20 |
21 | jest.mock("react-native/Libraries/Linking/Linking", () => ({
22 | openURL: jest.fn().mockResolvedValue(),
at node_modules/scheduler/cjs/scheduler.development.js:178:17
at Object.<anonymous> (node_modules/scheduler/cjs/scheduler.development.js:645:5)
at Object.<anonymous> (node_modules/scheduler/index.js:6:20)
at node_modules/react-test-renderer/cjs/react-test-renderer.development.js:19:19
at Object.<anonymous> (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17382:5)
at Object.<anonymous> (node_modules/react-test-renderer/index.js:6:20)
at Object.<anonymous> (node_modules/react-native-accessibility-engine/lib/commonjs/engine/index.tsx:2:1)
at Object.<anonymous> (node_modules/react-native-accessibility-engine/lib/commonjs/matchers/toBeAccessible.ts:2:1)
at Object.<anonymous> (node_modules/react-native-accessibility-engine/lib/commonjs/matchers/index.ts:1:1)
at Object.<anonymous> (node_modules/react-native-accessibility-engine/lib/commonjs/index.ts:1:1)
at Object.<anonymous> (src/setupJest.js:19:1)
Describe the bug
Jest can not exit because of an open handle created by importing this lib (as described in the README).
Expected behavior
Expect jest to be able to exit properly.
Context
The text was updated successfully, but these errors were encountered: