Skip to content

Commit 7f0907d

Browse files
committed
fix(test): use getAllByText for multiple helPRs matches in app test
1 parent 4503784 commit 7f0907d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/app.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import App from './app'
44

55
test('renders helPRs heading', () => {
66
render(<App />)
7-
expect(screen.getByText('helPRs')).toBeDefined()
7+
expect(screen.getAllByText('helPRs').length).toBeGreaterThan(0)
88
})

0 commit comments

Comments
 (0)