summaryrefslogtreecommitdiff
path: root/cli/js/files_test.ts
diff options
context:
space:
mode:
authorMaximilien Mellen <maxmellen0@gmail.com>2020-02-19 21:36:18 +0100
committerGitHub <noreply@github.com>2020-02-19 15:36:18 -0500
commit90125566bbaed8b5c6e55ca8dbc432e3433fb73c (patch)
treebf798a408b26264641260395ce8cfc9d4bb37637 /cli/js/files_test.ts
parent852823fa505d75d61e70e1330bbf366aa248e650 (diff)
Enable TS strict mode by default (#3899)
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
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;