@lvce-editor/test-worker 3.2.0 → 3.3.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/testWorkerMain.js +6 -0
- package/package.json +1 -1
package/dist/testWorkerMain.js
CHANGED
|
@@ -999,6 +999,12 @@ const expect$1 = locator => {
|
|
|
999
999
|
text
|
|
1000
1000
|
});
|
|
1001
1001
|
},
|
|
1002
|
+
async toContainText(text) {
|
|
1003
|
+
Assert.string(text, 'text must be of type string');
|
|
1004
|
+
return this.checkSingleElementCondition('toContainText', {
|
|
1005
|
+
text
|
|
1006
|
+
});
|
|
1007
|
+
},
|
|
1002
1008
|
async toHaveValue(value) {
|
|
1003
1009
|
Assert.string(value, 'value must be of type string');
|
|
1004
1010
|
return this.checkSingleElementCondition('toHaveValue', {
|