Fixed issue with jest picking up the built storybook folder causing tests to run out of memory. (#8096)

This commit is contained in:
Nick Taylor 2020-05-28 08:22:24 -04:00 committed by GitHub
parent 79247e2e24
commit 4e97623823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ module.exports = {
'!app/javascript/packs/**/*.js', // avoids running coverage on webpacker pack files
'!**/__tests__/**',
'!**/__stories__/**',
'!app/javascript/storybook-static/**/*.js',
],
coverageThreshold: {
global: {
@ -32,6 +33,7 @@ module.exports = {
'./config/webpack',
// Allows developers to add utility modules that jest won't run as test suites.
'/__tests__/utilities/',
'./app/javascript/storybook-static',
],
watchPlugins: [
'jest-watch-typeahead/filename',