summaryrefslogtreecommitdiff
path: root/cli/js/files_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/files_test.ts')
-rw-r--r--cli/js/files_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/files_test.ts b/cli/js/files_test.ts
index 8f4beb085..03e4d00e9 100644
--- a/cli/js/files_test.ts
+++ b/cli/js/files_test.ts
@@ -157,6 +157,7 @@ testPerm({ write: true }, async function writeNullBufferFailure(): Promise<
// writing null should throw an error
let err;
try {
+ // @ts-ignore
await file.write(null);
} catch (e) {
err = e;
@@ -182,6 +183,7 @@ testPerm(
// reading file into null buffer should throw an error
let err;
try {
+ // @ts-ignore
await file.read(null);
} catch (e) {
err = e;