Skip to content

Commit a5d2f9e

Browse files
authored
Update readdir.js
1 parent 4fbb93f commit a5d2f9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/readdir.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ test('readdir: empty dir', async (t) => {
1414

1515
fs.promises.readdir = async () => [];
1616

17-
const _readdir = reRequire('../lib/readdir');
18-
17+
const _readdir = reRequire('../lib/readdir');
1918
const [, result] = await tryToCatch(_readdir, '.');
2019

2120
fs.promises.readdir = readdir;

0 commit comments

Comments
 (0)