We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7e79a commit ca8edc0Copy full SHA for ca8edc0
test/Errors.test.js
@@ -350,8 +350,7 @@ describe("Errors", () => {
350
(errors, warnings) => {
351
expect(errors).toHaveLength(1);
352
const messages = errors[0].split("\n");
353
- expect(messages[1]).toMatch(/^Module build failed:$/);
354
- expect(messages[2]).toMatch(/didn't return/);
+ expect(messages[1]).toMatch(/^Module build failed: Final loader \(.+\) didn't return a Buffer or String/);
355
done();
356
}
357
);
0 commit comments