From 59e35aad229347e40aa2b7843b60630041476466 Mon Sep 17 00:00:00 2001 From: axel7083 <42176370+axel7083@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:32:26 +0100 Subject: [PATCH] fix: prettier Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --- .../frontend/src/pages/ModelPlayground.spec.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/frontend/src/pages/ModelPlayground.spec.ts b/packages/frontend/src/pages/ModelPlayground.spec.ts index 71ba01a6e..391ce6372 100644 --- a/packages/frontend/src/pages/ModelPlayground.spec.ts +++ b/packages/frontend/src/pages/ModelPlayground.spec.ts @@ -23,7 +23,7 @@ const mocks = vi.hoisted(() => { f(mocks.playgroundStatesSubscribeMock()); return () => {}; }, - } + }, }; }); @@ -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', @@ -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'); });