mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
Moving jest config out of package.json to facilitate different jest configurations for unit tests and e2e tests
This commit is contained in:
9
jest.config.js
Normal file
9
jest.config.js
Normal 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'
|
||||
}
|
||||
}
|
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"
|
||||
|
Reference in New Issue
Block a user