Skip to content

Commit bce2bfc

Browse files
authored
Support globalSetup and globalTeardown Jest options (#5218)
1 parent 316da53 commit bce2bfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-scripts/scripts/utils/createJestConfig.js

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ module.exports = (resolve, rootDir, isEjecting) => {
6868
'collectCoverageFrom',
6969
'coverageReporters',
7070
'coverageThreshold',
71+
'globalSetup',
72+
'globalTeardown',
7173
'resetMocks',
7274
'resetModules',
7375
'snapshotSerializers',

0 commit comments

Comments
 (0)