Skip to content

Commit b5d47ca

Browse files
authored
refactor: use the latest API methods (#4073)
1 parent a27b553 commit b5d47ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/static-directory.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ describe("static.directory option", () => {
497497
"Using a URL as static.directory is not supported"
498498
);
499499

500-
server.close(done);
500+
server.stopCallback(done);
501501
}
502502
);
503503
});
@@ -558,7 +558,7 @@ describe("static.directory option", () => {
558558
"Using a URL as static.directory is not supported"
559559
);
560560

561-
server.close(done);
561+
server.stopCallback(done);
562562
}
563563
);
564564
});

0 commit comments

Comments
 (0)