Skip to content

Commit 46d2e37

Browse files
hemal7735evenstensberg
authored andcommitted
tests(watch): test failure using done(error)
1 parent 20e8579 commit 46d2e37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/binCases/watch/info-verbosity-off/info-verbosity-off.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ test.only("info-verbosity-off", async done => {
8585

8686
webpackProc.stderr.on("data", error => {
8787
// fail test case if there is any error
88-
expect(true).toBe(false);
89-
done();
88+
done(error);
9089
});
9190
});

0 commit comments

Comments
 (0)