eslint-plugin-playwright 2.10.3 → 2.10.4
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/index.cjs +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4738,6 +4738,9 @@ var valid_title_default = createRule({
|
|
|
4738
4738
|
return;
|
|
4739
4739
|
}
|
|
4740
4740
|
const [argument] = node.arguments;
|
|
4741
|
+
if (call.type === "describe" && isFunction(argument)) {
|
|
4742
|
+
return;
|
|
4743
|
+
}
|
|
4741
4744
|
const title = dereference(context, argument) ?? argument;
|
|
4742
4745
|
if (!title) {
|
|
4743
4746
|
return;
|