Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jun 5, 2018
1 parent ca8edc0 commit 7765901
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Errors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ describe("Errors", () => {
(errors, warnings) => {
expect(errors).toHaveLength(1);
const messages = errors[0].split("\n");
expect(messages[1]).toMatch(/^Module build failed: Final loader \(.+\) didn't return a Buffer or String/);
expect(messages[1]).toMatch(
/^Module build failed: Error: Final loader \(.+\) didn't return a Buffer or String/
);
done();
}
);
Expand Down

0 comments on commit 7765901

Please sign in to comment.