style: format server and shared with prettier

A mechanical prettier --write over server/src, server/tests, server/scripts
and shared/src with the workspaces' .prettierrc; nothing but layout and
import order changes, and every file keeps the same set of imports. shared
is formatted throughout and its format baseline is empty. The server
baseline keeps the 35 files that Prettier would grow past their lint:size
limit (they need a split first, which is not a formatting change), and the
generated entity files stay as their generator writes them.
This commit is contained in:
Maurice
2026-10-10 21:23:37 +02:00
parent f4e518b2df
commit 724c88c201
1978 changed files with 78448 additions and 39347 deletions
+7 -7
View File
@@ -4,20 +4,20 @@
* off-by-default behaviour, and the CSP staying intact on the docs routes.
* Boots the real buildApp() like bootstrap.test.ts.
*/
import { describe, it, expect, vi, beforeAll, afterAll } from 'vitest';
import request from 'supertest';
import { buildApp } from '../../src/bootstrap';
import { db as testDb } from '../../src/db/database';
import { apiDocsEnabled } from '../../src/nest/common/api-docs.kill-switch';
import { resetTestDb } from '../helpers/test-db';
import type { INestApplication } from '@nestjs/common';
import request from 'supertest';
import { describe, it, expect, vi, beforeAll, afterAll } from 'vitest';
vi.mock('../../src/db/database', async () => {
const { createSnapshotTestDb, buildDbMock } = await import('../helpers/db-mock');
return buildDbMock(createSnapshotTestDb());
});
import { db as testDb } from '../../src/db/database';
import { resetTestDb } from '../helpers/test-db';
import { buildApp } from '../../src/bootstrap';
import { apiDocsEnabled } from '../../src/nest/common/api-docs.kill-switch';
describe('API-DOCS (#1412) — flag-gated OpenAPI surface', () => {
let app: INestApplication;
let instance: import('express').Application;