@lvce-editor/test-worker 4.38.0 → 4.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +2 -1
- package/dist/testWorkerMain.js +381 -290
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare const openRename: () => Promise<void>;
|
|
|
87
87
|
declare const growSelection: () => Promise<void>;
|
|
88
88
|
declare const getSelections: () => Promise<Uint32Array>;
|
|
89
89
|
declare const shouldHaveText: (expectedText: string) => Promise<void>;
|
|
90
|
+
declare const shouldHaveSelections: (expectedSelections: Uint32Array) => Promise<void>;
|
|
90
91
|
declare const selectIndex: (index: number) => Promise<void>;
|
|
91
92
|
declare const selectCurrentIndex: () => Promise<void>;
|
|
92
93
|
declare const openContextMenu$1: (index: number) => Promise<void>;
|
|
@@ -323,7 +324,7 @@ declare namespace Dialog {
|
|
|
323
324
|
export { executeMock, mockSaveFilePicker, showSaveFilePicker };
|
|
324
325
|
}
|
|
325
326
|
declare namespace Editor {
|
|
326
|
-
export { addAllMissingImports, closeColorPicker, closeCompletion, closeCompletionDetails, copy, copyLineDown, copyLineUp, cursorCharacterLeft, cursorCharacterRight, cursorDown, cursorEnd, cursorHome, cursorUp, cursorWordLeft, cursorWordPartLeft, cursorWordPartRight, cursorWordRight, deleteAllLeft, deleteAllRight, executeTabCompletion, findAllImplementations, findAllReferences, format, getSelections, getText, goToDefinition, goToTypeDefinition, growSelection, insertLineBreak, invokeBraceCompletion, invokeTabCompletion, openColorPicker, openCompletion, openCompletionDetails, openContextMenu, openEditorContextMenu, openFind, openFindWidget, openHover, openRename, openSourceActions, organizeImports, rename, selectAll, setCursor, setDeltaY, setSelections, shouldHaveText, showHover, sortImports, sourceActionsSelectCurrent, toggleBlockComment, toggleCompletionDetails, toggleLineComment, type };
|
|
327
|
+
export { addAllMissingImports, closeColorPicker, closeCompletion, closeCompletionDetails, copy, copyLineDown, copyLineUp, cursorCharacterLeft, cursorCharacterRight, cursorDown, cursorEnd, cursorHome, cursorUp, cursorWordLeft, cursorWordPartLeft, cursorWordPartRight, cursorWordRight, deleteAllLeft, deleteAllRight, executeTabCompletion, findAllImplementations, findAllReferences, format, getSelections, getText, goToDefinition, goToTypeDefinition, growSelection, insertLineBreak, invokeBraceCompletion, invokeTabCompletion, openColorPicker, openCompletion, openCompletionDetails, openContextMenu, openEditorContextMenu, openFind, openFindWidget, openHover, openRename, openSourceActions, organizeImports, rename, selectAll, setCursor, setDeltaY, setSelections, shouldHaveSelections, shouldHaveText, showHover, sortImports, sourceActionsSelectCurrent, toggleBlockComment, toggleCompletionDetails, toggleLineComment, type };
|
|
327
328
|
}
|
|
328
329
|
declare namespace EditorCompletion {
|
|
329
330
|
export { selectCurrentIndex, selectIndex };
|