Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 committed Jan 30, 2024
1 parent 76ab2eb commit 59e35aa
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions packages/frontend/src/pages/ModelPlayground.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const mocks = vi.hoisted(() => {
f(mocks.playgroundStatesSubscribeMock());
return () => {};
},
}
},
};
});

Expand Down Expand Up @@ -186,12 +186,14 @@ test('should display error alert', async () => {

test('playground container icon should redirect', async () => {
mocks.playgroundQueriesSubscribeMock.mockReturnValue([]);
mocks.playgroundStatesSubscribeMock.mockReturnValue([{
modelId: 'model1',
container: {
containerId: 'dummy-container-id',
}
}]);
mocks.playgroundStatesSubscribeMock.mockReturnValue([
{
modelId: 'model1',
container: {
containerId: 'dummy-container-id',
},
},
]);
render(ModelPlayground, {
model: {
id: 'model1',
Expand All @@ -212,5 +214,5 @@ test('playground container icon should redirect', async () => {
await fireEvent.click(navigateTo);
});

expect(mocks.navigateToContainerMock).toHaveBeenNthCalledWith(1, 'dummy-container-id')
expect(mocks.navigateToContainerMock).toHaveBeenNthCalledWith(1, 'dummy-container-id');
});

0 comments on commit 59e35aa

Please sign in to comment.