Skip to content

Commit 0afc6f4

Browse files
committed
chore: fixed tests
Signed-off-by: Evzen Gasta <evzen.ml@seznam.cz>
1 parent 41255dc commit 0afc6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontend/src/pages/InferenceServerDetails.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ test('invalid container id should redirect to services page', async () => {
261261
containerId: 'fakeContainerId',
262262
});
263263

264-
expect(gotoSpy).toHaveBeenCalledWith('/services');
264+
await vi.waitFor(() => expect(gotoSpy).toHaveBeenCalledWith('/services'), 1_500);
265265
});
266266

267267
test('ensure dummyContainerId is visible', async () => {

0 commit comments

Comments
 (0)