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
It is possible to setup this package for all the tests using the [setupFilesAfterEnv](https://jestjs.io/docs/en/configuration#setupfilesafterenv-array) option:
440
-
441
-
```js
442
-
"jest": {
443
-
"setupFilesAfterEnv": ["./setupTest.js"]
444
-
}
445
-
```
446
-
447
-
And import the library once in the `setupTest.js` as follows:
439
+
It is possible to setup this package for all the tests. Import the library once in the `src/setupTests.js` as follows:
0 commit comments