Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/parallel/test-fs-opendir.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
async function doAsyncIterInvalidCallbackTest() {
const dir = await fs.promises.opendir(testDir);
assert.throws(() => dir.close('not function'), invalidCallbackObj);
dir.close()

Check failure on line 222 in test/parallel/test-fs-opendir.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Missing semicolon
Comment thread
LiviaMedeiros marked this conversation as resolved.
Outdated
}
doAsyncIterInvalidCallbackTest().then(common.mustCall());

Expand Down Expand Up @@ -247,6 +248,7 @@
{
const dir = fs.opendirSync(testDir);
assert.throws(() => dir.read('INVALID_CALLBACK'), /ERR_INVALID_ARG_TYPE/);
dir.close();
}

// Check that concurrent read() operations don't do weird things.
Expand Down
Loading