@lvce-editor/test-worker 3.10.0 → 3.12.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.
Files changed (2) hide show
  1. package/dist/api.d.ts +7 -1
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -249,7 +249,7 @@ declare namespace WebView {
249
249
  export { fromId };
250
250
  }
251
251
 
252
- export interface Test {
252
+ export interface TestApi {
253
253
  readonly About: typeof About,
254
254
  readonly ActivityBar: typeof ActivityBar,
255
255
  readonly BaseUrl: typeof BaseUrl,
@@ -276,5 +276,11 @@ export interface Test {
276
276
  readonly TitleBarMenuBar: typeof TitleBarMenuBar,
277
277
  readonly WebView: typeof WebView,
278
278
  readonly Workspace: typeof Workspace,
279
+ readonly expect: any
280
+ readonly Locator: (selector: string) => any
281
+ }
282
+
283
+ export interface Test {
284
+ (api: TestApi): Promise<void>
279
285
  }
280
286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "3.10.0",
3
+ "version": "3.12.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",