Fixed issue with jest picking up the built storybook folder causing tests to run out of memory. (#8096)
This commit is contained in:
parent
79247e2e24
commit
4e97623823
1 changed files with 2 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue