From 2db147a0018b591c5039acf2b75706d960b1dec3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 1 Mar 2019 02:54:21 -0500 Subject: Bump CI to v0.3.1 (denoland/deno_std#220) Original: https://github.com/denoland/deno_std/commit/93e5e0cd143d329f9f8d22fe8ea2b7387c251ff4 --- testing/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/mod.ts b/testing/mod.ts index 3b895a2e9..0a6e52805 100644 --- a/testing/mod.ts +++ b/testing/mod.ts @@ -293,7 +293,7 @@ export async function runTests() { } export async function runIfMain(meta: ImportMeta) { - if (window.location.toString() === meta.url) { + if (meta.main) { runTests(); } } -- cgit v1.2.3