chore: fix failing test, it was failing in a good way.

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-05-11 10:24:11 +02:00
parent ee103bc710
commit f6706308e1
@@ -98,7 +98,11 @@ describe('<StepInitAnalyzeUrl />', () => {
);
await act(async () => {
userEvent.click(getByRole('button', { name: /Analyze/i }));
try {
userEvent.click(getByRole('button', { name: /Analyze/i }));
} catch {
return;
}
});
expect(catalogImportApi.analyzeUrl).toBeCalledTimes(0);