Correct the file name to preprocessor

Since the `scriptPreprocessor.js` is removed since 14.0,
we use `preprocessor.js` instead, 
but the doc doesn't update yet.
So I do it :)
This commit is contained in:
Tsung Chen Ku 2015-11-13 21:23:30 +08:00
parent c47116273d
commit ade9645ae8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Note: In order to run your own tests, you will have to first follow the Getting
},
...
"jest": {
"scriptPreprocessor": "node_modules/react-native/jestSupport/scriptPreprocess.js",
"scriptPreprocessor": "node_modules/react-native/jestSupport/preprocessor.js",
"setupEnvScriptFile": "node_modules/react-native/jestSupport/env.js",
"testPathIgnorePatterns": [
"/node_modules/",