Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ suite("Extension Tests", function () {
});

test("Run display coverage on a test file that has coverages generated remotely @integration", async () => {
expect(true).to.be.false
const decorationSpy = sinon.spy(Renderer.prototype, "setDecorationsForEditor");

const testCoverage = await vscode.workspace.findFiles("**/remote-test-coverage.js", "**/node_modules/**");
const testDocument = await vscode.workspace.openTextDocument(testCoverage[0]);
await vscode.window.showTextDocument(testDocument);
Expand Down
1 change: 1 addition & 0 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function run(): Promise<void> {
files.forEach((f) => mocha.addFile(resolve(testsRoot, f)));
try {
// Run the mocha test
mocha.retries(3);
mocha.run((failures) => {
if (failures > 0) {
e(new Error(`${failures} tests failed.`));
Expand Down
Loading