summaryrefslogtreecommitdiff
path: root/cli/js/tests/io_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/tests/io_test.ts')
-rw-r--r--cli/js/tests/io_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/tests/io_test.ts b/cli/js/tests/io_test.ts
index 5b6e860be..d6d6e35d1 100644
--- a/cli/js/tests/io_test.ts
+++ b/cli/js/tests/io_test.ts
@@ -19,7 +19,7 @@ function spyRead(obj: Deno.Buffer): Spy {
const orig = obj.read.bind(obj);
- obj.read = (p: Uint8Array): Promise<number | Deno.EOF> => {
+ obj.read = (p: Uint8Array): Promise<number | null> => {
spy.calls++;
return orig(p);
};