diff --git a/tests/jest.config.js b/tests/jest.config.js index c1ba411..af09403 100644 --- a/tests/jest.config.js +++ b/tests/jest.config.js @@ -31,5 +31,9 @@ module.exports = { "**/?(*.)+(ispec|test).[tj]s?(x)", ], - setupFilesAfterEnv: ['/setupTests.js'] + // Path of the file where tests can be """decorated""" + setupFilesAfterEnv: ['/setupTests.js'], + + // Stop immediatly when a test fail + bail: true, };