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 <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -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 () => (
|
||||
<div>
|
||||
{inputs.cards.map(card => card.get(coreExtensionData.reactElement))}
|
||||
{inputs.cards.map(card =>
|
||||
card.get(coreExtensionData.reactElement),
|
||||
)}
|
||||
</div>
|
||||
),
|
||||
});
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user