Skip to content

Commit 29b9c60

Browse files
committed
chore: Fix tautological assertion (#3169)
1 parent 59268d6 commit 29b9c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/tasks/utils/contest-table/typical90_provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Typical90Provider', () => {
1919
const filtered = provider.filter(mixedTaskResults as TaskResults);
2020

2121
expect(filtered?.every((task) => task.contest_id === 'typical90')).toBe(true);
22-
expect(filtered?.length).toBe(filtered.length);
22+
expect(filtered?.length).toBe(6);
2323
expect(filtered).not.toContainEqual(expect.objectContaining({ contest_id: 'abc123' }));
2424
expect(filtered).not.toContainEqual(expect.objectContaining({ contest_id: 'dp' }));
2525
});

0 commit comments

Comments
 (0)