mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[jest] throw on module collision in node presets (#136012)
This commit is contained in:
parent
c7f5a20f1c
commit
9ff26f9de9
2 changed files with 8 additions and 0 deletions
|
@ -43,4 +43,8 @@ module.exports = {
|
|||
testEnvironment: 'node',
|
||||
snapshotSerializers: [],
|
||||
setupFiles: ['<rootDir>/node_modules/@kbn/test/target_node/jest/setup/babel_polyfill.js'],
|
||||
haste: {
|
||||
...preset.haste,
|
||||
throwOnModuleCollision: true,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -13,4 +13,8 @@ module.exports = {
|
|||
testEnvironment: 'node',
|
||||
snapshotSerializers: [],
|
||||
setupFiles: ['<rootDir>/node_modules/@kbn/test/target_node/jest/setup/babel_polyfill.js'],
|
||||
haste: {
|
||||
...preset.haste,
|
||||
throwOnModuleCollision: true,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue