mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
test(coding-agent): adapt paste tests to the extension dialog stack
This commit is contained in:
parent
25ee194a69
commit
46ae6f4935
1 changed files with 6 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ describe("InteractiveMode keeps collapsed paste content when it moves a draft",
|
|||
defaultEditor,
|
||||
editor,
|
||||
editorContainer: new Container(),
|
||||
extensionDialogs: [],
|
||||
disposeActiveSelector() {},
|
||||
};
|
||||
const setCustomEditorComponent = Reflect.get(InteractiveMode.prototype, "setCustomEditorComponent") as (
|
||||
|
|
@ -94,7 +95,12 @@ describe("InteractiveMode keeps collapsed paste content when it moves a draft",
|
|||
keybindings,
|
||||
editor: new Editor(ui, getEditorTheme()),
|
||||
editorContainer: new Container(),
|
||||
extensionDialogs: [],
|
||||
programStatus: { setBlocked() {} },
|
||||
disposeActiveSelector() {},
|
||||
pushExtensionDialog: Reflect.get(InteractiveMode.prototype, "pushExtensionDialog"),
|
||||
removeExtensionDialog: Reflect.get(InteractiveMode.prototype, "removeExtensionDialog"),
|
||||
showTopExtensionDialog: Reflect.get(InteractiveMode.prototype, "showTopExtensionDialog"),
|
||||
};
|
||||
}
|
||||
const showExtensionCustom = Reflect.get(InteractiveMode.prototype, "showExtensionCustom") as (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue