test(admin): confirm fee adjustment tolerance

This commit is contained in:
2026-09-09 01:46:11 +08:00
parent a0b1c761b7
commit 859fba4ecc
2 changed files with 6 additions and 1 deletions
@@ -23,3 +23,8 @@ test('inbound fee lifecycle covers frozen source, version, publication and WAIT_
assert.match(source, /对客合计仅含已发布头程与已审核其他应收且其他应付单列/)
assert.doesNotMatch(source, /settlementIncluded|是否结算|参与结算/)
})
test('automatic fee adjustment confirms the ten percent tolerance boundary', async () => {
const source = await readFile(moduleFile, 'utf8')
assert.match(source, /reason: `\$\{context\.marker\}-自动费用版本调整`, toleranceConfirmed: true/)
})