summaryrefslogtreecommitdiff
path: root/tests.ts
diff options
context:
space:
mode:
authorYingchen Xue <yingchenxue@qq.com>2018-06-04 14:59:02 +0800
committerRyan Dahl <ry@tinyclouds.org>2018-06-04 08:59:02 +0200
commit3ddb4017fd7c7bb6f0eafe6b23eb0ef6a70cd0d7 (patch)
tree37fb24c52fbe7cd2fe49239004f1698f55988886 /tests.ts
parent0639f9b7cc845579c59f5a792dcacb76bb28a749 (diff)
Lint (#83)
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}`