mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Part 2 - Make Model view components disposable + dispose all emitters (#24097)
This commit is contained in:
@@ -19,7 +19,8 @@ export function createViewContext(): TestContext {
|
||||
onValidityChanged: undefined!,
|
||||
valid: true,
|
||||
validate: undefined!,
|
||||
focus: undefined!
|
||||
focus: undefined!,
|
||||
dispose() { }
|
||||
};
|
||||
|
||||
const components: azdata.Component[] = [];
|
||||
@@ -67,6 +68,7 @@ export function createViewContext(): TestContext {
|
||||
onValidityChanged: undefined!,
|
||||
validate: undefined!,
|
||||
initializeModel: () => { return Promise.resolve(); },
|
||||
dispose() { },
|
||||
modelBuilder: {
|
||||
listView: undefined!,
|
||||
radioCardGroup: undefined!,
|
||||
|
||||
Reference in New Issue
Block a user