summaryrefslogtreecommitdiff
path: root/tests.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests.ts')
-rw-r--r--tests.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.ts b/tests.ts
index 45991228b..d4b188fda 100644
--- a/tests.ts
+++ b/tests.ts
@@ -20,7 +20,7 @@ test(async function tests_fetch() {
});
test(async function tests_readFileSync() {
- let data = readFileSync("package.json");
+ const data = readFileSync("package.json");
if (!data.byteLength) {
throw Error(
`Expected positive value for data.byteLength ${data.byteLength}`