@lvce-editor/renderer-process 10.36.0 → 10.37.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.
@@ -5457,6 +5457,11 @@ const toHaveText = (element, {
5457
5457
  }) => {
5458
5458
  return element.textContent === text;
5459
5459
  };
5460
+ const toContainText = (element, {
5461
+ text
5462
+ }) => {
5463
+ return element.textContent.includes(text);
5464
+ };
5460
5465
  const toHaveAttribute = (element, {
5461
5466
  key,
5462
5467
  value
@@ -5493,6 +5498,7 @@ const SingleElementConditions = {
5493
5498
  __proto__: null,
5494
5499
  toBeFocused,
5495
5500
  toBeVisible,
5501
+ toContainText,
5496
5502
  toHaveAttribute,
5497
5503
  toHaveClass,
5498
5504
  toHaveCss,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.36.0",
3
+ "version": "10.37.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",