Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Removed the jest config hack, and replaced it with the updated jest-p…
Browse files Browse the repository at this point in the history
…reset-ignite.
  • Loading branch information
nirre7 committed Sep 26, 2018
1 parent 650b203 commit 3df7d1c
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions boilerplate/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/react-test-renderer": "16.0.2",
"@types/validate.js": "0.11.0",
"babel-plugin-transform-inline-environment-variables": "0.4.3",
"jest-preset-ignite": "0.5.0",
"jest-preset-ignite": "0.6.1",
"npm-run-all": "4.1.3",
"patch-package": "5.1.1",
"postinstall-prepare": "1.0.1",
Expand All @@ -62,32 +62,6 @@
"typescript": "3.0.3"
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/node_modules/jest-preset-ignite/preprocessor.js",
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
},
"testMatch": [
"**/__tests__/**/*.js?(x)",
"**/?(*.)(spec|test).js?(x)",
"**/__tests__/**/*.ts?(x)",
"**/?(*.)(spec|test).ts?(x)"
],
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json"
],
"moduleNameMapper": {
"^[./a-zA-Z0-9$_-]+\\.(bmp|gif|jpg|jpeg|png|psd|svg|webp|ttf|otf)$": "RelativeImageStub",
"^React$": "<rootDir>/node_modules/react"
}
},
"rnpm": {
"assets": [
"./src/theme/fonts/"
]
"preset": "jest-preset-ignite"
}
}

0 comments on commit 3df7d1c

Please sign in to comment.