Skip to content

Commit

Permalink
v7.1.0 — Set bail argument to true for all Jest test runs so that…
Browse files Browse the repository at this point in the history
… it returns the correct exit code when a test run fails. (#104)
  • Loading branch information
DamianMullins authored Jan 18, 2018
1 parent 2705e30 commit 624c285
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v7.1.0
------------------------------
*January 18, 2018*

### Changed
- Set `bail` argument to `true` for all Jest test runs so that it returns the correct exit code when a test run fails.


v7.0.0
------------------------------
*January 17, 2018*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@justeat/gulp-build-fozzie",
"version": "7.0.0",
"version": "7.1.0",
"description": "Gulp build tasks for use across Fozzie modules",
"main": "index.js",
"author": "Damian Mullins <[email protected]> (http://www.damianmullins.com)",
Expand Down
2 changes: 1 addition & 1 deletion tasks/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ gulp.task('scripts:lint', () => gulp.src([`${pathBuilder.jsSrcDir}/**/*.js`, ...


const jestTestRun = (args = {}) => jest.runCLI(
args,
Object.assign({ bail: true }, args),
[path.resolve(process.cwd())]
);

Expand Down

0 comments on commit 624c285

Please sign in to comment.