diff --git a/test/LGTV.test.ts b/test/LGTV.test.ts index 2e232f6..a61f2b9 100644 --- a/test/LGTV.test.ts +++ b/test/LGTV.test.ts @@ -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)(); });