Skip to content

Commit 2160d30

Browse files
committed
use tmpdir
1 parent ff0137f commit 2160d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-promises-file-handle-readFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function validateLargeFileSupport() {
4444
const LARGE_FILE_SIZE = 2147483647 + 10 * 1024 * 1024; // INT32_MAX + 10 MB
4545
const FILE_PATH = path.join(os.tmpdir(), 'large-virtual-file.bin');
4646

47-
if (!tmpDir.hasEnoughSpace(LARGE_FILE_SIZE)) {
47+
if (!tmpdir.hasEnoughSpace(LARGE_FILE_SIZE)) {
4848
common.printSkipMessage(`Not enough space in ${os.tmpdir()}`);
4949
return;
5050
}

0 commit comments

Comments
 (0)