@lvce-editor/test-worker 3.14.0 → 3.15.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 -2
- package/dist/testWorkerMain.js +2 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ declare const rename$1: () => Promise<void>;
|
|
|
85
85
|
declare const cancelEdit: () => Promise<void>;
|
|
86
86
|
declare const acceptEdit: () => Promise<void>;
|
|
87
87
|
declare const updateEditingValue: (value: string) => Promise<void>;
|
|
88
|
-
declare const expandAll: (
|
|
88
|
+
declare const expandAll: () => Promise<void>;
|
|
89
89
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
90
90
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
91
91
|
declare const selectFeature: (name: string) => Promise<void>;
|
|
@@ -284,7 +284,7 @@ export interface TestApi {
|
|
|
284
284
|
readonly WebView: typeof WebView,
|
|
285
285
|
readonly Workspace: typeof Workspace,
|
|
286
286
|
readonly expect: any
|
|
287
|
-
readonly Locator: (selector: string) => any
|
|
287
|
+
readonly Locator: (selector: string, options?: any) => any
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export interface Test {
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -1587,8 +1587,8 @@ const acceptEdit = async () => {
|
|
|
1587
1587
|
const updateEditingValue = async value => {
|
|
1588
1588
|
await invoke('Explorer.updateEditingValue', value);
|
|
1589
1589
|
};
|
|
1590
|
-
const expandAll = async
|
|
1591
|
-
await invoke('Explorer.expandAll'
|
|
1590
|
+
const expandAll = async () => {
|
|
1591
|
+
await invoke('Explorer.expandAll');
|
|
1592
1592
|
};
|
|
1593
1593
|
|
|
1594
1594
|
const TestFrameWorkComponentExplorer = {
|