summaryrefslogtreecommitdiff
path: root/testing/mod.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-01 02:54:21 -0500
committerGitHub <noreply@github.com>2019-03-01 02:54:21 -0500
commit2db147a0018b591c5039acf2b75706d960b1dec3 (patch)
tree161074a103c22a6da7a7e8f678c69eb113a7c0d0 /testing/mod.ts
parent2ba7de2d04fb7fb5847b86d9c549f1cbf9c68d5a (diff)
Bump CI to v0.3.1 (denoland/deno_std#220)
Original: https://github.com/denoland/deno_std/commit/93e5e0cd143d329f9f8d22fe8ea2b7387c251ff4
Diffstat (limited to 'testing/mod.ts')
-rw-r--r--testing/mod.ts2
1 files changed, 1 insertions, 1 deletions
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();
}
}