Fixed Schema compare integration tests by adding retry (#13649)

This commit is contained in:
Leila Lali
2020-12-08 08:43:58 -08:00
committed by GitHub
parent a74119038f
commit e182649adc
6 changed files with 61 additions and 37 deletions

View File

@@ -27,11 +27,7 @@ before(function (): void {
testContext = createContext();
});
afterEach(function (): void {
sinon.restore();
});
describe('SchemaCompareMainWindow.start', function (): void {
describe('SchemaCompareMainWindow.start @DacFx@', function (): void {
before(() => {
mockExtensionContext = TypeMoq.Mock.ofType<vscode.ExtensionContext>();
mockExtensionContext.setup(x => x.extensionPath).returns(() => '');

View File

@@ -25,7 +25,7 @@ before(function (): void {
testContext = createContext();
});
describe('SchemaCompareDialog.openDialog', function (): void {
describe('SchemaCompareDialog.openDialog @DacFx@', function (): void {
before(() => {
mockExtensionContext = TypeMoq.Mock.ofType<vscode.ExtensionContext>();
mockExtensionContext.setup(x => x.extensionPath).returns(() => '');

View File

@@ -20,7 +20,7 @@ import * as sinon from 'sinon';
let testContext: TestContext;
describe('utils: Tests to verify getEndpointName', function (): void {
describe('utils: Tests to verify getEndpointName @DacFx@', function (): void {
afterEach(() => {
sinon.restore();
});