summaryrefslogtreecommitdiff
path: root/js/files_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/files_test.ts')
-rw-r--r--js/files_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/files_test.ts b/js/files_test.ts
index babec1fc2..004cb662b 100644
--- a/js/files_test.ts
+++ b/js/files_test.ts
@@ -323,7 +323,7 @@ testPerm({ read: true }, async function seekMode(): Promise<void> {
// We should still be able to read the file
// since it is still open.
- let buf = new Uint8Array(1);
+ const buf = new Uint8Array(1);
await file.read(buf); // "H"
assertEquals(new TextDecoder().decode(buf), "H");
});