Benjamin Admin
19786c96f8
test(admin): fix 3 stale vitest logic assumptions
...
These were pre-existing failures (stale tests, not source bugs):
- getNextStep walks steps ordered by `seq`, not array order (ai-act seq 350
sits before import 400). The tests assumed array order; derive the
expectations from the seq-sorted sequence instead.
- buildDocumentScope: a document required only by the level matrix is
`mandatory` but may be `medium` priority — only trigger-mandated docs (and
the high-priority doc types) are forced to high. The test wrongly asserted
ALL mandatory docs are high; now it checks the trigger-mandated ones.
Full vitest suite: 414/414 green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-11 08:08:23 +02:00
..
2026-06-11 08:08:23 +02:00
2026-04-10 21:05:59 +02:00
2026-03-04 16:53:36 +01:00
2026-04-10 19:17:38 +02:00
2026-04-18 00:07:03 +02:00
2026-04-25 16:24:07 +02:00
2026-06-11 00:42:44 +02:00
2026-06-11 00:42:44 +02:00
2026-04-10 21:05:59 +02:00
2026-06-11 00:42:44 +02:00
2026-06-11 00:42:44 +02:00
2026-04-28 19:25:38 +02:00
2026-06-11 00:42:44 +02:00
2026-05-21 18:49:10 +02:00
2026-04-10 19:12:09 +02:00
2026-04-18 00:07:03 +02:00
2026-04-18 00:12:01 +02:00
2026-04-18 00:12:01 +02:00
2026-04-18 00:07:03 +02:00
2026-06-11 00:42:44 +02:00
2026-03-16 21:41:48 +01:00
2026-06-11 00:42:44 +02:00
2026-06-11 00:42:44 +02:00
2026-04-18 00:46:31 +02:00
2026-06-11 00:42:44 +02:00
2026-04-10 19:17:38 +02:00
2026-04-10 19:17:38 +02:00
2026-04-10 19:17:38 +02:00
2026-04-10 19:17:38 +02:00
2026-04-10 19:17:38 +02:00
2026-04-10 19:17:38 +02:00
2026-05-03 13:03:38 +02:00
2026-05-03 10:59:58 +02:00
2026-05-01 13:43:09 +02:00
2026-05-09 21:32:23 +02:00
2026-06-11 00:42:44 +02:00
2026-04-10 13:54:29 +02:00
2026-06-11 00:42:44 +02:00
2026-04-10 13:54:29 +02:00
2026-04-10 13:54:29 +02:00
2026-05-09 21:32:23 +02:00
2026-04-25 16:24:07 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 13:55:42 +02:00
2026-04-10 19:12:09 +02:00
2026-04-10 19:12:09 +02:00
2026-04-10 19:12:09 +02:00
2026-04-18 00:07:03 +02:00
2026-03-19 11:56:25 +01:00
2026-04-18 00:07:03 +02:00
2026-06-11 00:42:44 +02:00
2026-04-18 00:32:08 +02:00
2026-04-18 00:32:08 +02:00
2026-06-11 00:42:44 +02:00
2026-03-19 13:59:43 +01:00
2026-04-18 00:07:03 +02:00
2026-06-11 00:42:44 +02:00
2026-03-10 10:29:24 +01:00
2026-03-09 14:53:50 +01:00
2026-04-18 00:07:03 +02:00
2026-04-18 00:07:03 +02:00
2026-04-18 00:07:03 +02:00
2026-04-17 09:05:19 +02:00
2026-04-18 00:46:31 +02:00
2026-04-10 21:05:59 +02:00
2026-04-10 21:05:59 +02:00
2026-04-10 21:05:59 +02:00
2026-03-20 06:57:01 +01:00