Skip to content

Commit

Permalink
tests: fix for webpack latest
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Aug 7, 2020
1 parent c6c063c commit 068e143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/loader/error-test/loader-error.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('loader error regression test for #1581', () => {
it(`should not ignore loader's error produce a failing build`, () => {
const { stderr, stdout } = run(__dirname, [], false);
expect(stderr).toBeFalsy();
expect(stdout).toContain('[built] [failed] [1 error]');
expect(stdout).toContain('[1 error]');
expect(stdout).toContain(`Cannot assign to 'foobar' because it is a constant`);
});
});

0 comments on commit 068e143

Please sign in to comment.