Skip to content

Commit 7765901

Browse files
committed
fix test case
1 parent ca8edc0 commit 7765901

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Errors.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,9 @@ describe("Errors", () => {
350350
(errors, warnings) => {
351351
expect(errors).toHaveLength(1);
352352
const messages = errors[0].split("\n");
353-
expect(messages[1]).toMatch(/^Module build failed: Final loader \(.+\) didn't return a Buffer or String/);
353+
expect(messages[1]).toMatch(
354+
/^Module build failed: Error: Final loader \(.+\) didn't return a Buffer or String/
355+
);
354356
done();
355357
}
356358
);

0 commit comments

Comments
 (0)