Skip to content

Commit

Permalink
allow watch cases to have errors per step
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 15, 2017
1 parent f3ddcdd commit b4c74b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/WatchTestCases.test.js
Expand Up @@ -129,8 +129,8 @@ describe("WatchTestCases", () => {
const jsonStats = stats.toJson({
errorDetails: true
});
if(checkArrayExpectation(testDirectory, jsonStats, "error", "Error", done)) return;
if(checkArrayExpectation(testDirectory, jsonStats, "warning", "Warning", done)) return;
if(checkArrayExpectation(path.join(testDirectory, run.name), jsonStats, "error", "Error", done)) return;
if(checkArrayExpectation(path.join(testDirectory, run.name), jsonStats, "warning", "Warning", done)) return;
let exportedTests = 0;

function _it(title, fn) {
Expand Down

0 comments on commit b4c74b2

Please sign in to comment.