@bahmutov/cy-grep 2.0.8 → 2.0.9
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/package.json +1 -1
- package/src/support.js +6 -1
package/package.json
CHANGED
package/src/support.js
CHANGED
@@ -181,7 +181,12 @@ function registerCyGrep() {
|
|
181
181
|
|
182
182
|
if (omitFiltered) {
|
183
183
|
// omit the filtered tests completely
|
184
|
-
|
184
|
+
// in order to be compatible with Mocha, create fake method and test object
|
185
|
+
return {
|
186
|
+
parent: {
|
187
|
+
appendOnlyTest: () => {},
|
188
|
+
},
|
189
|
+
}
|
185
190
|
}
|
186
191
|
|
187
192
|
// skip tests without grep string in their names
|