We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6972f0b commit 439b05fCopy full SHA for 439b05f
public/pages/workflows/workflows.test.tsx
@@ -40,7 +40,7 @@ const renderWithRouter = () => ({
40
41
describe('Workflows', () => {
42
test('renders the page', () => {
43
- const { getByText } = renderWithRouter();
44
- expect(getByText('Workflows')).not.toBeNull();
+ const { getAllByText } = renderWithRouter();
+ expect(getAllByText('Workflows').length).toBeGreaterThan(0);
45
});
46
0 commit comments