Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed May 7, 2023
1 parent 33bb41a commit c682af9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/watch/bail/bail.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,14 @@ describe('"bail" option', () => {
});

it('should not log warning without the "bail" option', async () => {
const { stderr, stdout } = await runWatch(__dirname, [
"-c",
"no-bail-webpack.config.js",
"--watch",
]);
const { stderr, stdout } = await runWatch(__dirname, ["-c", "no-bail-webpack.config.js"]);

expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();
});

it('should not log warning without the "bail" option', async () => {
const { stderr, stdout } = await runWatch(__dirname, [
"-c",
"no-bail-webpack.config.js",
"--watch",
]);
const { stderr, stdout } = await runWatch(__dirname, ["-c", "no-bail-webpack.config.js"]);

expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();
Expand Down

0 comments on commit c682af9

Please sign in to comment.