Skip to content

Commit

Permalink
fix path for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Sep 25, 2024
1 parent ed793c5 commit cc6a4a0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/client/testing/testController/common/resultResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ export class PythonResultResolver implements ITestResultResolver {
} else {
this._resolveExecution(payload as ExecutionTestPayload, runInstance);
}
if ('coverage' in payload) {
// coverage data is sent once per connection
traceVerbose('Coverage data received.');
this._resolveCoverage(payload as CoveragePayload, runInstance);
}
}

public _resolveCoverage(payload: CoveragePayload, runInstance: TestRun): void {
Expand Down Expand Up @@ -180,7 +175,7 @@ export class PythonResultResolver implements ITestResultResolver {
detailedCoverageArray.push(statementCoverage);
}

this.detailedCoverageMap.set(fileNameStr, detailedCoverageArray);
this.detailedCoverageMap.set(uri.fsPath, detailedCoverageArray);
}
}

Expand Down

0 comments on commit cc6a4a0

Please sign in to comment.