Skip to content

Commit 439b05f

Browse files
committed
Fix UT
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent 6972f0b commit 439b05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/pages/workflows/workflows.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const renderWithRouter = () => ({
4040

4141
describe('Workflows', () => {
4242
test('renders the page', () => {
43-
const { getByText } = renderWithRouter();
44-
expect(getByText('Workflows')).not.toBeNull();
43+
const { getAllByText } = renderWithRouter();
44+
expect(getAllByText('Workflows').length).toBeGreaterThan(0);
4545
});
4646
});

0 commit comments

Comments
 (0)