import assert from 'node:assert/strict' import test from 'node:test' import { auditMapperScanning, repositoryRoot } from './mapper-scan-contract.mjs' test('every production MyBatis mapper is annotated and covered by one root scan', () => { const result = auditMapperScanning(repositoryRoot) assert.deepEqual(result.failures, []) assert.ok(result.persistenceModuleCount >= 10) assert.ok(result.mapperCount >= 200) })