mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Fix nbrowser/CopyPaste test on Mac
Summary: `nbrowser/CopyPaste` was failing on Mac. Diff fixes that issue. Test Plan: Update `test/nbrowser/CopyPaste` and `core/test/server/customUtil.ts`. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3552
This commit is contained in:
parent
aeb7a4b849
commit
5f51dd7a00
@ -54,8 +54,8 @@ export async function serveSomething(setup: (app: express.Express) => void, port
|
||||
});
|
||||
|
||||
async function shutdown() {
|
||||
await fromCallback(cb => server.close(cb));
|
||||
for (const conn of connections) { conn.destroy(); }
|
||||
await fromCallback(cb => server.close(cb));
|
||||
}
|
||||
|
||||
port = (server.address() as AddressInfo).port;
|
||||
|
Loading…
Reference in New Issue
Block a user