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:
@@ -81,7 +81,8 @@ export function createViewContext(): ViewTestContext {
|
||||
onValidityChanged: undefined!,
|
||||
valid: true,
|
||||
validate: undefined!,
|
||||
focus: () => Promise.resolve()
|
||||
focus: () => Promise.resolve(),
|
||||
dispose() { }
|
||||
};
|
||||
|
||||
let container = {
|
||||
@@ -325,6 +326,7 @@ export function createViewContext(): ViewTestContext {
|
||||
onValidityChanged: undefined!,
|
||||
validate: undefined!,
|
||||
initializeModel: () => { return Promise.resolve(); },
|
||||
dispose() { },
|
||||
modelBuilder: {
|
||||
listView: undefined!,
|
||||
radioCardGroup: undefined!,
|
||||
|
||||
Reference in New Issue
Block a user