Skip to content

Commit

Permalink
fix: Add label information to the test result status (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo authored Jan 13, 2021
1 parent 7e6b9d5 commit f014c8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/testStatusBarProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class TestStatusBarProvider implements Disposable {
}
}

this.statusBarItem.accessibilityInformation = {
label: `${failedNum} failed, ${passedNum} passed test${failedNum + passedNum === 1 ? '' : 's'}`,
};
this.update(`$(x) ${failedNum} $(check) ${passedNum}`, 'Show test report', JavaTestRunnerCommands.SHOW_TEST_REPORT, [results]);
}

Expand Down

0 comments on commit f014c8a

Please sign in to comment.