Skip to content

Commit

Permalink
More ugly workarounds for Node whilte running tests on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jadoc committed Nov 24, 2023
1 parent 577bb8d commit 5d48bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/LGTV.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ describe.each([
// Graceful shutdown of net.Server doesn't work correctly on macOS.
// Work around it by making sure the socket has a chance to close first.
await new Promise((resolve) => setImmediate(resolve));
await new Promise((resolve) => setImmediate(resolve));
await promisify(mockServer.close).bind(mockServer)();
});

Expand Down

0 comments on commit 5d48bd8

Please sign in to comment.