summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-promises-file-handle-writeFile.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-promises-file-handle-writeFile.js')
-rw-r--r--test/parallel/test-fs-promises-file-handle-writeFile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-fs-promises-file-handle-writeFile.js b/test/parallel/test-fs-promises-file-handle-writeFile.js
index 196b6f8db8..a53384cc22 100644
--- a/test/parallel/test-fs-promises-file-handle-writeFile.js
+++ b/test/parallel/test-fs-promises-file-handle-writeFile.js
@@ -2,11 +2,11 @@
const common = require('../common');
-// The following tests validate base functionality for the fs/promises
+// The following tests validate base functionality for the fs.promises
// FileHandle.readFile method.
const fs = require('fs');
-const { open } = require('fs/promises');
+const { open } = fs.promises;
const path = require('path');
const tmpdir = require('../common/tmpdir');
const assert = require('assert');