Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 8958d50

Browse files
committed
fix(test-util-ipfs-example.servers): stop instead of close
1 parent e32cb45 commit 8958d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test-util-ipfs-example/playwright/servers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const servers = (serverConfiguration = []) => {
5757
// Cleanup.
5858
console.log('Stopping servers...');
5959

60-
await Promise.all(servers.map(m => new Promise(f => m.server.close(f))))
60+
await Promise.all(servers.map(m => new Promise(f => m.server.stop(f))))
6161
console.log('Servers stopped');
6262
}, { scope: 'worker', auto: true } ],
6363
}

0 commit comments

Comments
 (0)