@lvce-editor/test-worker 6.8.0 → 7.0.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
@@ -18,7 +18,7 @@ export interface LocatorExpect {
18
18
  readonly toHaveValue: (value: string) => Promise<void>;
19
19
  readonly toBeFocused: () => Promise<void>;
20
20
  readonly toHaveCSS: (key: string, value: string) => Promise<void>;
21
- readonly toHaveAttribute: (key: string, value: string) => Promise<void>;
21
+ readonly toHaveAttribute: (key: string, value: string | null) => Promise<void>;
22
22
  readonly toHaveJSProperty: (key: string, value: any) => Promise<void>;
23
23
  readonly toHaveClass: (className: string) => Promise<void>;
24
24
  readonly toHaveId: (id: string) => Promise<void>;
@@ -57,7 +57,6 @@ export interface FileSystemTmpDirOptions {
57
57
 
58
58
  interface Workspace {
59
59
  readonly openTmpDir: () => Promise<string>;
60
- readonly resolveFileUrl: (url: string) => string;
61
60
  readonly setPath: (path: string) => Promise<void>;
62
61
  }
63
62
 
@@ -3571,19 +3571,9 @@ const openTmpDir = async () => {
3571
3571
  return tmpDir;
3572
3572
  };
3573
3573
 
3574
- /**
3575
- * @deprecated use FileSystem.loadFixture instead
3576
- */
3577
- const resolveFileUrl = url => {
3578
- // TODO covert remote url to file url
3579
- // then set that as workspace path
3580
- return toFileUrl(url);
3581
- };
3582
-
3583
3574
  const Workspace = {
3584
3575
  __proto__: null,
3585
3576
  openTmpDir,
3586
- resolveFileUrl,
3587
3577
  setPath
3588
3578
  };
3589
3579
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "6.8.0",
3
+ "version": "7.0.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",