feat(blocking): добавить шкалу снимков над матрицей
Docker / build (push) Failing after 24s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Denozordec
2026-08-25 12:32:46 +07:00
co-authored by Cursor
parent 9254b8dc22
commit efebcaf16d
6 changed files with 334 additions and 10 deletions
+2 -1
View File
@@ -154,8 +154,9 @@ describe('censorcheck ingest + reads', () => {
await post(ingestPayload())
const list = await app.inject({ method: 'GET', url: '/api/censorcheck/runs?limit=10' })
expect(list.statusCode).toBe(200)
const items = list.json().items as Array<{ id: string }>
const items = list.json().items as Array<{ id: string; results?: unknown[] }>
expect(items).toHaveLength(1)
expect(items[0]!.results).toHaveLength(1)
const detail = await app.inject({ method: 'GET', url: `/api/censorcheck/runs/${items[0]!.id}` })
expect(detail.statusCode).toBe(200)
expect(detail.json().results).toHaveLength(1)