diff options
Diffstat (limited to 'std/node/_fs/_fs_dir_test.ts')
-rw-r--r-- | std/node/_fs/_fs_dir_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/_fs/_fs_dir_test.ts b/std/node/_fs/_fs_dir_test.ts index 3b8c5b341..be276887b 100644 --- a/std/node/_fs/_fs_dir_test.ts +++ b/std/node/_fs/_fs_dir_test.ts @@ -5,7 +5,7 @@ import Dirent from "./_fs_dirent.ts"; test({ name: "Closing current directory with callback is successful", - async fn() { + fn() { let calledBack = false; // eslint-disable-next-line @typescript-eslint/no-explicit-any new Dir(".").close((valOrErr: any) => { @@ -25,7 +25,7 @@ test({ test({ name: "Closing current directory synchronously works", - async fn() { + fn() { new Dir(".").closeSync(); } }); |