summaryrefslogtreecommitdiff
path: root/js/build_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-04-21 16:40:10 -0400
committerGitHub <noreply@github.com>2019-04-21 16:40:10 -0400
commit9dfebbc9496138efbeedc431068f41662c780f3e (patch)
treec3718c3dc132d11c08c8fc18933daebf886bf787 /js/build_test.ts
parent6cded14bdf313762956d4d5361cfe8115628b535 (diff)
Fix eslint warnings (#2151)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
Diffstat (limited to 'js/build_test.ts')
-rw-r--r--js/build_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/build_test.ts b/js/build_test.ts
index 106b5b184..4a254e7a6 100644
--- a/js/build_test.ts
+++ b/js/build_test.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assert } from "./test_util.ts";
-test(function buildInfo() {
+test(function buildInfo(): void {
// Deno.build is injected by rollup at compile time. Here
// we check it has been properly transformed.
const { arch, os } = Deno.build;
@@ -9,6 +9,6 @@ test(function buildInfo() {
assert(os === "mac" || os === "win" || os === "linux");
});
-test(function buildGnArgs() {
+test(function buildGnArgs(): void {
assert(Deno.build.args.length > 100);
});