Skip to content

Commit f2f98c6

Browse files
adrwquantizor
authored andcommitted
Update Global installation instructions (#243)
* Update Global installation instructions `setupTestFrameworkScriptFile` is now `setupFilesAfterEnv`. https://jestjs.io/docs/en/configuration#setupfilesafterenv-array * Update link
1 parent c8159a3 commit f2f98c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,11 @@ import 'jest-styled-components/native'
434434
435435
# Global installation
436436
437-
It is possibile to setup this package for all the tests using the [setupTestFrameworkScriptFile](https://facebook.github.io/jest/docs/en/configuration.html#setuptestframeworkscriptfile-string) option:
437+
It is possibile to setup this package for all the tests using the [setupFilesAfterEnv](https://jestjs.io/docs/en/configuration#setupfilesafterenv-array) option:
438438
439439
```js
440440
"jest": {
441-
"setupTestFrameworkScriptFile": "./setupTest.js"
441+
"setupFilesAfterEnv": ["./setupTest.js"]
442442
}
443443
```
444444

0 commit comments

Comments
 (0)