test: 80%+ line coverage achieved (512 tests)

- ComplianceUpdateState: provisioning code write, transition to executing-commands
- ConfigurationEvaluationState: full happy path with all phases
- Fix flaky integration tests (isolated collections)
- Coverage: 80.64% lines, 79.26% statements, 512 tests
This commit is contained in:
Kevin L'Hereec committed 2026-06-02 16:56:47 +02:00
1 parent 818c661f21
commit 5759809145
2 files changed
+78 -2

No files matched your search

@@ -82,10 +82,11 @@ describe('BaseModel (integration)', () => {
})
it('countDocuments returns correct count', async () => {
const col = db.collection('test_base')
const col = db.collection('test_count')
await col.insertMany([{ x: 1 }, { x: 2 }, { x: 3 }])
const count = await col.countDocuments({})
expect(count).toBe(3)
await col.drop()
})
it('pagination works with skip and limit', async () => {