mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Refactor schema compare options and add tests (#11414)
* refactor to make testing options easier * some cleanup * remove async * get file to 100% coverage * address a couple comments
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as should from 'should';
|
||||
import {SchemaCompareOptionsDialog} from '../../dialogs/schemaCompareOptionsDialog';
|
||||
|
||||
describe('Schema Compare Options Dialog', () => {
|
||||
it('Should open dialog successfully ', async function (): Promise<void> {
|
||||
const optionsDialog = new SchemaCompareOptionsDialog(undefined, undefined);
|
||||
await optionsDialog.openDialog();
|
||||
should.notEqual(optionsDialog.dialog, undefined);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user