Skip to content

Commit

Permalink
fix: add global setup/teardown to valid_config (#5095)
Browse files Browse the repository at this point in the history
This will fix the false warnings on using the Global Setup/Teardown
options
  • Loading branch information
xfumihiro authored and cpojer committed Dec 17, 2017
1 parent 486444b commit 1880b79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/jest-config/src/valid_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export default ({
displayName: 'project-name',
expand: false,
forceExit: false,
globalSetup: 'setup.js',
globalTeardown: 'teardown.js',
globals: {},
haste: {
providesModuleNodeModules: ['react', 'react-native'],
Expand Down

0 comments on commit 1880b79

Please sign in to comment.