Skip to content

Commit acac5c8

Browse files
Update test after refactoring simulation statuses
1 parent 8b1d7af commit acac5c8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

frontend/tests/hooks/useSimulationQueriesResult.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,8 @@ describe("useSimulationQueries Hook", () => {
103103
wrapper: createWrapper(),
104104
});
105105

106-
await waitFor(() => expect(result.current.isLoading).toBe(false));
106+
await waitFor(() => expect(result.current.statuses).toHaveLength(3));
107107

108108
expect(vi.mocked(getResultForSimulation).mock.calls).toHaveLength(3);
109-
110-
console.log("Hook output:", result.current.isLoading, result.current.data);
111109
});
112110
});

0 commit comments

Comments
 (0)