Skip to content

Commit

Permalink
tests(watch): test failure using done(error)
Browse files Browse the repository at this point in the history
  • Loading branch information
hemal7735 authored and evenstensberg committed Feb 5, 2019
1 parent 20e8579 commit 46d2e37
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ test.only("info-verbosity-off", async done => {

webpackProc.stderr.on("data", error => {
// fail test case if there is any error
expect(true).toBe(false);
done();
done(error);
});
});

0 comments on commit 46d2e37

Please sign in to comment.