Skip to content

Commit ed30651

Browse files
committed
refactor: remove unnecessary logic
1 parent 908e84e commit ed30651

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/rules/no-wait-for-multiple-assertions.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ export default createTestingLibraryRule<Options, MessageIds>({
103103
}
104104

105105
for (const expressionStatements of expectArgumentMap.values()) {
106-
if (expressionStatements.length <= 1) {
107-
continue;
108-
}
109106
// Skip the first matched assertion; only report subsequent duplicates.
110107
for (const expressionStatement of expressionStatements.slice(1)) {
111108
context.report({

0 commit comments

Comments
 (0)