We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7885413 commit 6cfc6a1Copy full SHA for 6cfc6a1
test/parallel/test-fs-write-stream-eagain.mjs
@@ -5,6 +5,7 @@ import fs from 'node:fs';
5
import { describe, it, mock } from 'node:test';
6
import { finished } from 'node:stream/promises';
7
8
+tmpdir.refresh();
9
const file = tmpdir.resolve('writeStreamEAGAIN.txt');
10
const errorWithEAGAIN = (fd, buffer, offset, length, position, callback) => {
11
callback(Object.assign(new Error(), { code: 'EAGAIN' }), 0, buffer);
0 commit comments