mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-21 01:17:43 +03:00
test: stop sourceServer as well (#1314)
This commit is contained in:
parent
38c3837b3e
commit
92aa4f375a
@ -65,10 +65,11 @@ beforeAll(async state => {
|
|||||||
state.sourceServer.PREFIX = `http://localhost:${sourcePort}`;
|
state.sourceServer.PREFIX = `http://localhost:${sourcePort}`;
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(async({server, httpsServer}) => {
|
afterAll(async({server, sourceServer, httpsServer}) => {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
server.stop(),
|
server.stop(),
|
||||||
httpsServer.stop(),
|
httpsServer.stop(),
|
||||||
|
sourceServer.stop(),
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user