mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 17:23:51 -05:00
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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user