Skip to content

Commit e012d7d

Browse files
committed
Update no-identical-tests.js
1 parent 97bdc55 commit e012d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-identical-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = {
6262

6363
for (let i = 0; i < pb.length; i++) {
6464
const code = sourceCode.getText(pb[i]);
65-
if (!(code in paObj)) {
65+
if (!paObj[code]) {
6666
return false;
6767
}
6868
}

0 commit comments

Comments
 (0)