Skip to content

Commit

Permalink
try to fix unit test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Dec 17, 2020
1 parent d2f96a3 commit 0634813
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/tests/compiler_api_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);`,
Expand Down

0 comments on commit 0634813

Please sign in to comment.