Skip to content

Commit 5172994

Browse files
committed
fix test
1 parent 3658c17 commit 5172994

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ui/StopRoutesModal.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ describe('StopRoutesModal', () => {
9191
it('renders route rows for each combined pattern', () => {
9292
renderComponent();
9393
expect(
94-
screen.getAllByLabelText('hideLine', { selector: 'input' }).length,
94+
screen.getAllByLabelText('hideLine', { exact: false, selector: 'input' })
95+
.length,
9596
).toBe(mockCombinedPatterns.length);
9697
});
9798

0 commit comments

Comments
 (0)