From 0634813adf2c837b24e3f7a5c5bdf854d4ea9f44 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 17 Dec 2020 17:32:04 +1100 Subject: [PATCH] try to fix unit test on windows --- cli/tests/compiler_api_test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/tests/compiler_api_test.ts b/cli/tests/compiler_api_test.ts index ead3e704e3f821..a0b5a53aad0cdd 100644 --- a/cli/tests/compiler_api_test.ts +++ b/cli/tests/compiler_api_test.ts @@ -102,7 +102,9 @@ Deno.test({ "b": "./b.ts", }, }, - importMapPath: "/import-map.json", + importMapPath: Deno.build.os == "windows" + ? "C:\\import-map.json" + : "/import-map.json", sources: { "/a.ts": `import * as b from "b" console.log(b);`,