Skip to content

Commit

Permalink
fixed tests and merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gstamac committed Aug 20, 2018
1 parent b0df658 commit 35c3994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions __mocks__/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const commands = {
executeCommand: jest.fn(),
}

const TreeItem = jest.fn()

export {
languages,
StatusBarAlignment,
Expand All @@ -51,4 +53,5 @@ export {
DiagnosticSeverity,
debug,
commands,
TreeItem,
}
2 changes: 1 addition & 1 deletion src/JestExt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export class JestExt {
this.coverageMapProvider.update(normalizedData.coverageMap)

const statusList = this.testResultProvider.updateTestResults(normalizedData)
updateDiagnostics(statusList, this.testResultProvider, this.failDiagnostics)
updateDiagnostics(statusList, this.failDiagnostics)

this.sidebarProvider.refresh(data)

Expand Down

0 comments on commit 35c3994

Please sign in to comment.