Moving jest config out of package.json to facilitate different jest configurations for unit tests and e2e tests
This commit is contained in:
parent
6974892a11
commit
7242a98adb
|
@ -0,0 +1,9 @@
|
|||
module.exports = {
|
||||
transform: {
|
||||
'^.+\\.jsx?$': './transformer.js'
|
||||
},
|
||||
transformIgnorePatterns: ['/node_modules/(?!dagre-d3-renderer/lib).*\\.js'],
|
||||
moduleNameMapper: {
|
||||
'\\.(css|scss)$': 'identity-obj-proxy'
|
||||
}
|
||||
}
|
11
package.json
11
package.json
|
@ -80,17 +80,6 @@
|
|||
"dist",
|
||||
"src"
|
||||
],
|
||||
"jest": {
|
||||
"transform": {
|
||||
"^.+\\.jsx?$": "./transformer.js"
|
||||
},
|
||||
"transformIgnorePatterns": [
|
||||
"/node_modules/(?!dagre-d3-renderer/lib).*\\.js"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"\\.(css|scss)$": "identity-obj-proxy"
|
||||
}
|
||||
},
|
||||
"yarn-upgrade-all": {
|
||||
"ignore": [
|
||||
"babel-core"
|
||||
|
|
Loading…
Reference in New Issue