Skip to content

Commit 0367c56

Browse files
Tweak some assertions
1 parent bf6edd0 commit 0367c56

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/integrationTests/codeLensProvider.integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ suite(`CodeLensProvider: ${testAssetWorkspace.description}`, function () {
4444
});
4545

4646
test("Returns all resolved code lenses", async function () {
47-
let codeLenses = await GetCodeLenses(fileUri, 2);
47+
let codeLenses = await GetCodeLenses(fileUri, 100);
4848
expect(codeLenses.length).to.equal(2);
4949

5050
for (let codeLens of codeLenses) {

test/integrationTests/launchConfiguration.integration.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as fs from 'async-file';
77
import * as vscode from 'vscode';
88

99
import poll from './poll';
10-
import { should } from 'chai';
10+
import { should, expect } from 'chai';
1111
import { activateCSharpExtension } from './integrationHelpers';
1212
import testAssetWorkspace from './testAssets/testAssetWorkspace';
1313

@@ -36,7 +36,8 @@ suite(`Tasks generation: ${testAssetWorkspace.description}`, function () {
3636
vscode.debug.onDidTerminateDebugSession((e) => resolve());
3737
});
3838

39-
vscode.debug.activeDebugSession.type.should.equal("coreclr");
39+
expect(vscode.debug.activeDebugSession).not.to.be.undefined;
40+
expect(vscode.debug.activeDebugSession.type).to.equal("coreclr");
4041

4142
await debugSessionTerminated;
4243
});

0 commit comments

Comments
 (0)