优化
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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)
|
||||
})
|
||||
Reference in New Issue
Block a user