Reenable disabled tests post VSCode refresh (#20899)

* Reenable disabled tests

* Extension unit test updates

* Turn off data workspace tests on Linux

* Keep integration and smoke tests disabled
This commit is contained in:
Karl Burtram
2022-10-21 21:40:52 -07:00
committed by GitHub
parent 3e1f2b0d9d
commit 5a7ae8a3d0
12 changed files with 342 additions and 95 deletions

View File

@@ -162,7 +162,7 @@ suite('WorkspaceService', function (): void {
}
]);
sinon.stub(ProjectProviderRegistry, 'providers').value([provider1, provider2]);
// const consoleErrorStub = sinon.stub(console, 'error');
const consoleErrorStub = sinon.stub(console, 'error');
const projectTypes = await service.getAllProjectTypes();
should.strictEqual(projectTypes.length, 3);
should.strictEqual(projectTypes[0].projectFileExtension, 'testproj');
@@ -175,9 +175,7 @@ suite('WorkspaceService', function (): void {
should.strictEqual(extension5.activationStub.called, true, 'extension5.activate() should have been called');
should.strictEqual(extension6.activationStub.notCalled, true, 'extension6.activate() should not have been called');
should.strictEqual(extension7.activationStub.notCalled, true, 'extension7.activate() should not have been called');
// {{SQL CARBON TODO}} - disable this assertion
// should.strictEqual(consoleErrorStub.calledOnce, true, 'Logger.error should be called once');
should.strictEqual(consoleErrorStub.calledOnce, true, 'Logger.error should be called once');
});
test('getProjectProvider', async () => {