chore: fix failing test, it was failing in a good way.
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
+5
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user