We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97bdc55 commit e012d7dCopy full SHA for e012d7d
lib/rules/no-identical-tests.js
@@ -62,7 +62,7 @@ module.exports = {
62
63
for (let i = 0; i < pb.length; i++) {
64
const code = sourceCode.getText(pb[i]);
65
- if (!(code in paObj)) {
+ if (!paObj[code]) {
66
return false;
67
}
68
0 commit comments