Phase 3: News CRUD — model, endpoints, ownership, интеграционные тесты

This commit is contained in:
Suslov-MD
2026-08-16 06:37:27 +00:00
parent 391b8dff88
commit 7c89a93442
9 changed files with 431 additions and 3 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ describe('Auth', () => {
const regRes: Response = await request(app).post('/api/auth/register').send(creds);
const token = tokenOf(regRes.body);
expect(token).toBeDefined();
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- token проверен
const authHeader = `Bearer ${token}`;
const res = await request(app)