-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jest.runCLI() was being called with only 1 argument, there was a mis-bracketing which lead to this. When trying to fix the bracketing here, I realised the error handling callback also did not work correctly (done was undefined), and the 'test' task considered itself succeeded before the tests were even run. I've refactored the task a little to successfully "fail" when the tests fail, which means that "gulp test" will now return a non-zero exit code when the tests fail.
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters