Moving jest config out of package.json to facilitate different jest configurations for unit tests and e2e tests

This commit is contained in:
Knut Sveidqvist
2019-05-30 19:31:41 +02:00
parent 6974892a11
commit 7242a98adb
2 changed files with 9 additions and 11 deletions

9
jest.config.js Normal file
View File

@@ -0,0 +1,9 @@
module.exports = {
transform: {
'^.+\\.jsx?$': './transformer.js'
},
transformIgnorePatterns: ['/node_modules/(?!dagre-d3-renderer/lib).*\\.js'],
moduleNameMapper: {
'\\.(css|scss)$': 'identity-obj-proxy'
}
}