@lvce-editor/test-worker 1.11.0 → 1.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.
package/README.md CHANGED
@@ -1 +1,16 @@
1
- # test worker
1
+ # Test Worker
2
+
3
+ > A Web Worker for the e2e functionality in Lvce Editor.
4
+
5
+ ## Contributing
6
+
7
+ ```sh
8
+ git clone git@github.com:lvce-editor/test-worker.git &&
9
+ cd test-worker &&
10
+ npm ci &&
11
+ npm test
12
+ ```
13
+
14
+ ## Gitpod
15
+
16
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/test-worker)
@@ -1064,6 +1064,12 @@ const copyLineUp = async () => {
1064
1064
  const closeColorPicker = async () => {
1065
1065
  await invoke('Editor.closeColorPicker');
1066
1066
  };
1067
+ const openContextMenu$1 = async () => {
1068
+ await invoke('Editor.contextMenu');
1069
+ };
1070
+ const getText = async () => {
1071
+ await invoke('Editor.getText');
1072
+ };
1067
1073
 
1068
1074
  const TestFrameWorkComponentEditor = {
1069
1075
  __proto__: null,
@@ -1087,6 +1093,7 @@ const TestFrameWorkComponentEditor = {
1087
1093
  findAllImplementations,
1088
1094
  findAllReferences,
1089
1095
  format,
1096
+ getText,
1090
1097
  goToDefinition,
1091
1098
  goToTypeDefinition,
1092
1099
  insertLineBreak,
@@ -1095,6 +1102,7 @@ const TestFrameWorkComponentEditor = {
1095
1102
  openColorPicker,
1096
1103
  openCompletion,
1097
1104
  openCompletionDetails,
1105
+ openContextMenu: openContextMenu$1,
1098
1106
  openEditorContextMenu,
1099
1107
  openFind,
1100
1108
  openFindWidget,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "",
5
5
  "main": "dist/testWorkerMain.js",
6
6
  "type": "module",