diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b9989d34d9..2d6f318a4c 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 3b895a2e98..0a6e528052 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(); } }