@lvce-editor/test-worker 9.0.0 → 9.3.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 CHANGED
@@ -268,6 +268,14 @@ interface ExtensionDetail {
268
268
  readonly selectTab: (name: string) => Promise<void>;
269
269
  }
270
270
 
271
+ interface ExtensionSearch {
272
+ readonly copyExtensionId: () => Promise<void>;
273
+ readonly copyExtensionInfo: () => Promise<void>;
274
+ readonly handleContextMenu: (button: number, x: number, y: number) => Promise<void>;
275
+ readonly handleInput: (value: string) => Promise<void>;
276
+ readonly open: () => Promise<void>;
277
+ }
278
+
271
279
  interface FileSystem {
272
280
  readonly addFileHandle: (file: File) => Promise<void>;
273
281
  readonly chmod: (uri: string, permissions: any) => Promise<void>;
@@ -539,6 +547,7 @@ export interface TestApi {
539
547
  readonly Explorer: Explorer
540
548
  readonly Extension: Extension
541
549
  readonly ExtensionDetail: ExtensionDetail
550
+ readonly ExtensionSearch: ExtensionSearch
542
551
  readonly FileSystem: FileSystem
543
552
  readonly FindWidget: FindWidget
544
553
  readonly IconTheme: IconTheme
@@ -1422,7 +1422,6 @@ class Expect {
1422
1422
  }
1423
1423
  async toHaveAttribute(key, value) {
1424
1424
  string(key, 'key must be of type string');
1425
- // Assert.string(value, 'value must be of type string')
1426
1425
  return this.checkSingleElementCondition('toHaveAttribute', {
1427
1426
  key,
1428
1427
  value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "9.0.0",
3
+ "version": "9.3.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "type": "module",
12
12
  "main": "dist/testWorkerMain.js",
13
13
  "dependencies": {
14
- "@lvce-editor/constants": "^1.26.0"
14
+ "@lvce-editor/constants": "^1.28.0"
15
15
  },
16
16
  "types": "dist/api.d.ts"
17
17
  }