@lvce-editor/test-worker 5.17.0 → 5.19.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;
@@ -2991,7 +2993,7 @@ const show$1 = async () => {
2991
2993
  };
2992
2994
  const handleFilterInput = async text => {
2993
2995
  // @ts-ignore
2994
- await invoke$1('Problems.handleFilterInput', text);
2996
+ await invoke$1('Problems.handleFilterInput', text, Script);
2995
2997
  };
2996
2998
  const copyMessage = async () => {
2997
2999
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.17.0",
3
+ "version": "5.19.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",