Fixed false negative of a frontend test suite failing. (#6005)
This commit is contained in:
parent
c33d6936b5
commit
4fe4c4d791
1 changed files with 3 additions and 0 deletions
|
|
@ -10,4 +10,7 @@ module.exports = {
|
|||
'\\.(svg|png)$': '<rootDir>/empty-module.js',
|
||||
},
|
||||
snapshotSerializers: ['preact-render-spy/snapshot'],
|
||||
// The webpack config folder for webpacker is excluded as it has a test.js file that gets
|
||||
// picked up by jest if this folder is not excluded causing a false negative of a test suite failing.
|
||||
testPathIgnorePatterns: ['/node_modules/', './config/webpack'],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue