@lvce-editor/test-worker 5.18.0 → 5.20.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.
@@ -1113,6 +1113,8 @@ const now = () => {
1113
1113
  return performance.now();
1114
1114
  };
1115
1115
 
1116
+ // TODO make this code more functional, returning a test result
1117
+ // and a separate function prints out the test result
1116
1118
  const executeTest = async (name, fn, globals = {}) => {
1117
1119
  let _error;
1118
1120
  let _start;
@@ -3546,6 +3548,7 @@ const fromId = async webViewId => {
3546
3548
  return {
3547
3549
  locator(selector, options) {
3548
3550
  const baseLocator = create(selector, options);
3551
+ // @ts-ignore
3549
3552
  baseLocator.webViewId = webViewId;
3550
3553
  return baseLocator;
3551
3554
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.18.0",
3
+ "version": "5.20.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",