summaryrefslogtreecommitdiff
path: root/tests/fetch_deps.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fetch_deps.ts')
-rw-r--r--tests/fetch_deps.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetch_deps.ts b/tests/fetch_deps.ts
index 08743e36b..530a56283 100644
--- a/tests/fetch_deps.ts
+++ b/tests/fetch_deps.ts
@@ -2,7 +2,7 @@
import { assert } from "../js/deps/https/deno.land/std/testing/asserts.ts";
// TODO Top level await https://github.com/denoland/deno/issues/471
-async function main() {
+async function main(): Promise<void> {
const response = await fetch("http://localhost:4545/package.json");
const json = await response.json();
const deps = Object.keys(json.devDependencies);