eslint-plugin-playwright 2.10.2 → 2.10.3
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 +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1124,7 +1124,7 @@ var missing_playwright_await_default = createRule({
|
|
|
1124
1124
|
if (parent.type === "MemberExpression" && parent.object === node) {
|
|
1125
1125
|
return checkValidity(parent, visited);
|
|
1126
1126
|
}
|
|
1127
|
-
if (parent.type === "CallExpression" && parent.callee === node) {
|
|
1127
|
+
if (parent.type === "CallExpression" && (parent.callee === node || isIdentifier(parent.callee, "expect"))) {
|
|
1128
1128
|
return checkValidity(parent, visited);
|
|
1129
1129
|
}
|
|
1130
1130
|
if (parent.type === "VariableDeclarator") {
|