mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: fix flaky test-worker-message-port-transfer-filehandle test
PR-URL: https://github.com/nodejs/node/pull/59158 Fixes: https://github.com/nodejs/node/issues/59145 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
b549deac02
commit
3a9aca91c6
1 file changed
+1
@@ -86,6 +86,7 @@ const { once } = require('events');
|
||||
});
|
||||
|
||||
assert.deepStrictEqual(await readPromise, await fs.readFile(__filename));
|
||||
await fh.close();
|
||||
})().then(common.mustCall());
|
||||
|
||||
(async function() {
|
||||
|
||||
Reference in new issue
Block a user