From 6234db86e904337265656fb3980de22ef2a6e813 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sun, 15 Mar 2026 02:00:38 +0100 Subject: [PATCH] style: apply prettier to phased app follow-up files Align the recent phased app follow-up changes with the repository formatting rules to avoid carrying a stray formatting-only diff. Signed-off-by: Patrik Oldsberg Made-with: Cursor --- .../frontend-defaults/src/createApp.test.tsx | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/packages/frontend-defaults/src/createApp.test.tsx b/packages/frontend-defaults/src/createApp.test.tsx index c4a4861e1b..be09c8b8df 100644 --- a/packages/frontend-defaults/src/createApp.test.tsx +++ b/packages/frontend-defaults/src/createApp.test.tsx @@ -830,7 +830,11 @@ describe('createApp', () => { screen.findByText('Permission Page'), ).resolves.toBeInTheDocument(); expect(allowedPermissionApi.authorize).toHaveBeenCalledWith({ - permission: { name: 'catalog.entity.create', type: 'basic', attributes: {} }, + permission: { + name: 'catalog.entity.create', + type: 'basic', + attributes: {}, + }, }); }); @@ -857,7 +861,9 @@ describe('createApp', () => { path: '/', loader: async () => (
- {inputs.cards.map(card => card.get(coreExtensionData.reactElement))} + {inputs.cards.map(card => + card.get(coreExtensionData.reactElement), + )}
), }); @@ -916,10 +922,10 @@ describe('createApp', () => { ], }); - const hiddenCardsRender = await renderWithEffects(hiddenCardsApp.createRoot()); - await expect( - screen.findByText('Public Card'), - ).resolves.toBeInTheDocument(); + const hiddenCardsRender = await renderWithEffects( + hiddenCardsApp.createRoot(), + ); + await expect(screen.findByText('Public Card')).resolves.toBeInTheDocument(); await waitFor(() => expect(screen.queryByText('Permission Card')).not.toBeInTheDocument(), ); @@ -943,8 +949,7 @@ describe('createApp', () => { defineParams({ api: permissionApiRef, deps: {}, - factory: () => - createPermissionApi(['catalog.entity.create']), + factory: () => createPermissionApi(['catalog.entity.create']), }), }), ApiBlueprint.make({