diff options
Diffstat (limited to 'std/node/_fs/_fs_dir_test.ts')
-rw-r--r-- | std/node/_fs/_fs_dir_test.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/std/node/_fs/_fs_dir_test.ts b/std/node/_fs/_fs_dir_test.ts index 2d2d5f585..4c2806389 100644 --- a/std/node/_fs/_fs_dir_test.ts +++ b/std/node/_fs/_fs_dir_test.ts @@ -49,7 +49,7 @@ Deno.test({ let calledBack = false; const fileFromCallback: Dirent | null = await new Dir( - testDir + testDir, // eslint-disable-next-line @typescript-eslint/no-explicit-any ).read((err: any, res: Dirent) => { assert(res === null); @@ -83,10 +83,11 @@ Deno.test({ // eslint-disable-next-line @typescript-eslint/no-explicit-any (err: any, secondResult: Dirent) => { assert( - secondResult.name === "bar.txt" || secondResult.name === "foo.txt" + secondResult.name === "bar.txt" || + secondResult.name === "foo.txt", ); secondCallback = true; - } + }, ); const thirdRead: Dirent | null = await dir.read(); const fourthRead: Dirent | null = await dir.read(); |