优化
This commit is contained in:
@@ -4,6 +4,7 @@ import test from 'node:test'
|
||||
|
||||
const moduleUrl = new URL('./finance-extended-settlement.mjs', import.meta.url)
|
||||
const source = await readFile(moduleUrl, 'utf8')
|
||||
const fixtureSource = await readFile(new URL('./finance-full-fixtures.mjs', import.meta.url), 'utf8')
|
||||
|
||||
test('扩展财务验收只接受指定独立 marker 且不借历史来源', () => {
|
||||
assert.match(source, /FIN-EXT-SETTLE-20260812/)
|
||||
@@ -44,3 +45,8 @@ test('扩展财务验收输出可回传资源与柜次部署阻断', () => {
|
||||
assert.match(source, /statusMatrix/)
|
||||
assert.match(source, /containerPayableDeploymentBlocker/)
|
||||
})
|
||||
|
||||
test('按柜 PAYABLE 费用携带有效往来单位', () => {
|
||||
assert.match(fixtureSource, /partnerId: id\(supplier\.id\)/)
|
||||
assert.match(fixtureSource, /partnerName: supplier\.partnerName \|\| null/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user