chore: add bail of jest test config

This commit is contained in:
二货机器人 2022-11-08 11:06:57 +08:00
parent f2dc842eef
commit 2fe472d15b
2 changed files with 2 additions and 0 deletions

View File

@ -48,4 +48,5 @@ module.exports = {
testEnvironmentOptions: { testEnvironmentOptions: {
url: 'http://localhost', url: 'http://localhost',
}, },
bail: true,
}; };

View File

@ -15,4 +15,5 @@ module.exports = {
testRegex: 'node\\.test\\.(j|t)sx$', testRegex: 'node\\.test\\.(j|t)sx$',
testEnvironment: 'node', testEnvironment: 'node',
transformIgnorePatterns, transformIgnorePatterns,
bail: true,
}; };