Skip to content

Commit

Permalink
do not close stream before reading in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Jan 14, 2025
1 parent 5aa1042 commit f2859fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_node/_fs/_fs_handle_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Deno.test(
});

await new Promise((resolve) => {
stream.close(resolve);
stream.on("close", resolve);
});
await fileHandle.close();
},
Expand Down

0 comments on commit f2859fe

Please sign in to comment.