eslint-plugin-playwright 0.15.2 → 0.15.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/lib/utils/ast.js +1 -1
- package/package.json +1 -1
package/lib/utils/ast.js
CHANGED
|
@@ -95,7 +95,7 @@ function isTestHook(node) {
|
|
|
95
95
|
exports.isTestHook = isTestHook;
|
|
96
96
|
const expectSubCommands = new Set(['soft', 'poll']);
|
|
97
97
|
function getExpectType(node) {
|
|
98
|
-
if (isIdentifier(node.callee,
|
|
98
|
+
if (isIdentifier(node.callee, /(^expect|Expect)$/)) {
|
|
99
99
|
return 'standalone';
|
|
100
100
|
}
|
|
101
101
|
if (node.callee.type === 'MemberExpression' &&
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-playwright",
|
|
3
3
|
"description": "ESLint plugin for Playwright testing.",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.3",
|
|
5
5
|
"packageManager": "pnpm@8.4.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": "https://github.com/playwright-community/eslint-plugin-playwright",
|