Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: stop sourceServer as well (#1314)

Andrey Lushnikov92aa4f375ab9
diff --git a/test/test.js b/test/test.js
index da6575a4a9..a41302e281 100644
--- a/test/test.js
+++ b/test/test.js
@@ -65,10 +65,11 @@ beforeAll(async state => {
state.sourceServer.PREFIX = `http://localhost:${sourcePort}`;
});
-afterAll(async({server, httpsServer}) => {
+afterAll(async({server, sourceServer, httpsServer}) => {
await Promise.all([
server.stop(),
httpsServer.stop(),
+ sourceServer.stop(),
]);
});