summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml2
-rw-r--r--testing/mod.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b9989d34d..2d6f318a4 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,5 +1,5 @@
variables:
- DENO_VERSION: 'v0.3.0'
+ DENO_VERSION: 'v0.3.1'
jobs:
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();
}
}