summaryrefslogtreecommitdiff
path: root/cli/tests/unit_node
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit_node')
-rw-r--r--cli/tests/unit_node/_fs/_fs_watch_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit_node/_fs/_fs_watch_test.ts b/cli/tests/unit_node/_fs/_fs_watch_test.ts
index 2316b2db3..26b0da8b9 100644
--- a/cli/tests/unit_node/_fs/_fs_watch_test.ts
+++ b/cli/tests/unit_node/_fs/_fs_watch_test.ts
@@ -12,7 +12,7 @@ Deno.test({
name: "watching a file",
async fn() {
const file = Deno.makeTempFileSync();
- const result: Array<[string, string]> = [];
+ const result: Array<[string, string | null]> = [];
const watcher = watch(
file,
(eventType, filename) => result.push([eventType, filename]),