fix: some
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 55s

This commit is contained in:
luo
2026-10-24 14:56:32 +08:00
parent c706f543a4
commit ecce4f6e7b
4 changed files with 5 additions and 2 deletions

View File

@@ -50,9 +50,10 @@ test('creation defaults and reset never select the hidden original route', () =>
const { resolveRefundMethod } = evaluate(
`const RefundMethod = ${JSON.stringify(RefundMethod)}; export ${resolver}`
)
for (const payment_method of ['wechat', 'alipay', 'offline']) {
for (const payment_method of ['wechat', 'alipay', 'fuiou', 'offline']) {
assert.equal(resolveRefundMethod({ payment_method }), RefundMethod.CUSTOMER_ACCOUNT)
}
assert.match(dialogSource, /fuiou: '富友支付'/)
assert.equal(
resolveRefundMethod({ payment_method: 'wallet', buyer_type: 'agent' }),
RefundMethod.AGENT_WALLET