chore: prettier format pass on branch files

Auto-format all files modified during the documents-hub-split feature
branch that were not yet aligned with the project's Prettier config
(single quotes, semicolons, trailing commas).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 13:01:47 +02:00
parent eceb77a6c4
commit 0e8feb1073
77 changed files with 1174 additions and 1356 deletions

View File

@@ -22,9 +22,7 @@ test.describe('Documents hub — upload into entity folder', () => {
await login(page, 'super_admin');
});
test('file uploaded with clientId appears in the client entity folder view', async ({
page,
}) => {
test('file uploaded with clientId appears in the client entity folder view', async ({ page }) => {
const headers = await apiHeaders(page);
// 1. Create a client.
@@ -157,9 +155,12 @@ test.describe('Documents hub — upload into entity folder', () => {
}
// 3. List files for this client to discover the folder id.
const listRes = await page.request.get(`/api/v1/files?entityType=client&entityId=${client.id}`, {
headers,
});
const listRes = await page.request.get(
`/api/v1/files?entityType=client&entityId=${client.id}`,
{
headers,
},
);
if (!listRes.ok()) {
test.skip(true, `File list returned ${listRes.status()} — folderId test skipped`);
return;