Skip to content

Commit

Permalink
feat: add support for import map in test code lens (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvng authored Jun 8, 2021
1 parent 759d590 commit 4faee76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ export function test(
if (config.get("unstable")) {
testArgs.push("--unstable");
}
if (config.get("importMap")) {
testArgs.push("--import-map", String(config.get("importMap")));
}
const args = ["test", ...testArgs, "--filter", name, path];

const definition: tasks.DenoTaskDefinition = {
Expand Down

0 comments on commit 4faee76

Please sign in to comment.