Skip to content

Commit 92a28df

Browse files
committed
add done()
1 parent 9c13d51 commit 92a28df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test/Errors.test.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ describe("Errors", () => {
354354
)
355355
]);
356356
});
357-
it("should throw a build error if no source be returned after run loaders", () => {
357+
it("should throw a build error if no source be returned after run loaders", done => {
358358
getErrors(
359359
{
360360
mode: "development",
@@ -365,6 +365,7 @@ describe("Errors", () => {
365365
const messages = errors[0].split("\n");
366366
messages[1].should.match(/^Module build failed:$/);
367367
messages[2].should.match(/didn't return/);
368+
done();
368369
}
369370
);
370371
});

0 commit comments

Comments
 (0)