mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02: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:
parent
ad81548bf5
commit
5e86ad9c6c
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ const { once } = require('events');
|
|||
});
|
||||
|
||||
assert.deepStrictEqual(await readPromise, await fs.readFile(__filename));
|
||||
await fh.close();
|
||||
})().then(common.mustCall());
|
||||
|
||||
(async function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue