We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135dde8 commit 95f21efCopy full SHA for 95f21ef
jest.config.js
@@ -1,7 +1,7 @@
1
module.exports = {
2
preset: 'jest-expo',
3
setupFilesAfterEnv: [
4
- '@testing-library/jest-native/extend-expect',
+ '@testing-library/react-native/extend-expect',
5
'<rootDir>/setup.ts',
6
],
7
testMatch: ['**/?(*.)+(spec|test).ts?(x)'],
setup.ts
@@ -1,3 +1,4 @@
+import '@testing-library/react-native/extend-expect';
// react-hook form setup for testing
import '@testing-library/jest-dom';
// @ts-ignore
0 commit comments