Fixed false negative of a frontend test suite failing. (#6005)

This commit is contained in:
Nick Taylor 2020-02-10 19:41:45 -05:00 committed by GitHub
parent c33d6936b5
commit 4fe4c4d791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'],
};