优化
This commit is contained in:
@@ -56,8 +56,8 @@ describe('CarrierRatesView price-book source contract', () => {
|
||||
})
|
||||
|
||||
it('shows all source-backed prototype price metadata without inventing cost breakdowns', () => {
|
||||
for (const label of ['渠道', '参考时效', '最晚进仓时间', '船期', '附加费', '备注', '生效状态']) {
|
||||
expect(detailSource).toContain(`label="${label}"`)
|
||||
for (const label of ['渠道', '参考时效', '最晚进仓时间', '船期', '附加费', '备注']) {
|
||||
expect(detailSource).toContain(`<dt>${label}</dt>`)
|
||||
}
|
||||
for (const field of ['referenceTransit', 'latestWarehouseEntry', 'estimatedDepartureText', 'surchargeDescription', 'remark']) {
|
||||
expect(detailSource).toContain(`selectedChannel?.${field}`)
|
||||
|
||||
Reference in New Issue
Block a user