test: 测试用例

This commit is contained in:
Wxw-Gu
2026-09-20 15:56:27 +08:00
parent 9593ca0f54
commit 5036639aa1
6 changed files with 39 additions and 17 deletions
@@ -82,7 +82,6 @@ import {
/** 与真实派生库同形:binding 主键 = `sourceMessageId(message)` = `local:<localId>`。 */
const SELF_KEY = 'local:9001'
const OTHER_KEY = 'local:9002'
function coverage(overrides: Partial<ImageTextIndexCoverage> = {}): ImageTextIndexCoverage {
return {
@@ -98,6 +97,8 @@ function coverage(overrides: Partial<ImageTextIndexCoverage> = {}): ImageTextInd
complete: true,
systemicFailure: false,
countedAt: Date.parse('2026-09-16T09:00:00+08:00'),
tiers: [],
coveredToMs: null,
...overrides
}
}