diff options
Diffstat (limited to 'cli/tests/unit/fs_events_test.ts')
-rw-r--r-- | cli/tests/unit/fs_events_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/fs_events_test.ts b/cli/tests/unit/fs_events_test.ts index ec146f185..f2dd59d79 100644 --- a/cli/tests/unit/fs_events_test.ts +++ b/cli/tests/unit/fs_events_test.ts @@ -16,7 +16,7 @@ unitTest({ perms: { read: true } }, function watchFsInvalidPath() { Deno.watchFs("non-existant.file"); }, Error, - "Input watch path is neither a file nor a directory" + "Input watch path is neither a file nor a directory", ); } else { assertThrows(() => { @@ -26,7 +26,7 @@ unitTest({ perms: { read: true } }, function watchFsInvalidPath() { }); async function getTwoEvents( - iter: AsyncIterableIterator<Deno.FsEvent> + iter: AsyncIterableIterator<Deno.FsEvent>, ): Promise<Deno.FsEvent[]> { const events = []; for await (const event of iter) { @@ -58,5 +58,5 @@ unitTest( assert(events[0].paths[0].includes(testDir)); assert(events[1].kind == "create" || events[1].kind == "modify"); assert(events[1].paths[0].includes(testDir)); - } + }, ); |