mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Add onClosed event to ModelView dialogs (#17531)
* Add onClosed event to ModelView dialogs * Use defined type * Fix compile * fix tests * fix tests2 * Remove unused
This commit is contained in:
@@ -395,15 +395,13 @@ describe('ProjectsController', function (): void {
|
||||
return Promise.resolve(undefined);
|
||||
});
|
||||
|
||||
let dialogPromise = projController.object.publishProject(proj);
|
||||
void projController.object.publishProject(proj);
|
||||
await publishDialog.object.publishClick();
|
||||
await dialogPromise;
|
||||
|
||||
should(holler).equal(publishHoller, 'executionCallback() is supposed to have been setup and called for Publish scenario');
|
||||
|
||||
dialogPromise = projController.object.publishProject(proj);
|
||||
void projController.object.publishProject(proj);
|
||||
await publishDialog.object.generateScriptClick();
|
||||
await dialogPromise;
|
||||
|
||||
should(holler).equal(generateHoller, 'executionCallback() is supposed to have been setup and called for GenerateScript scenario');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user