Skip to content

Commit

Permalink
fix romanresh#21 - provide test file paths as relative to the workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleveil authored Jan 19, 2018
1 parent c38537c commit b0fd924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class TestCafeTestController {
this.lastType = type;
this.lastName = name;

var args = [browser, filePath];
var args = [browser, vscode.workspace.asRelativePath(filePath)];

var customArguments = vscode.workspace.getConfiguration("testcafeTestRunner").get("customArguments");
if(typeof(customArguments) === "string") {
Expand Down Expand Up @@ -281,4 +281,4 @@ class TestCafeTestController {
dispose() {

}
}
}

0 comments on commit b0fd924

Please sign in to comment.