@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 +16 -1
- package/dist/testWorkerMain.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
#
|
|
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
|
+
[](https://gitpod.io/#https://github.com/lvce-editor/test-worker)
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -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,
|