Commit abfbbfac authored by zengqiang's avatar zengqiang

feat: 新增H5提现确认收款页和单元测试

parent 5a6324b0
......@@ -24,3 +24,16 @@ npm run lint
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
### 变更记录
本次更新主要围绕微信商家转账升级,主要变更包括:
- 新增确认收款中间页
- 新增处理中状态展示
- 新增提现状态枚举展示
### 页面说明
**提现相关页面:**
- **确认收款页**: 用户发起提现后,需在此页确认收款。通过 JSBridge 调用原生能力调起微信确认。
- **提现记录列表**: 展示提现记录,支持新的提现状态枚举(处理中、待确认收款、已成功、失败)。
......@@ -6,6 +6,7 @@ module.exports = {
'@babel/plugin-proposal-logical-assignment-operators',
'@babel/plugin-proposal-optional-chaining'
]
}]
}],
'@babel/preset-typescript'
]
}
module.exports = {
testEnvironment: 'jsdom',
moduleFileExtensions: [
'js',
'ts',
'json',
'vue',
],
transform: {
'^.+\.ts$': 'ts-jest',
'^.+\.js$': 'babel-jest',
'.*\.(vue)$' : '@vue/vue3-jest',
},
testMatch: [
'**/__tests__/**/*.spec.[jt]s?(x)',
'**/__tests__/**/*.test.[jt]s?(x)',
'**/src/**/*.spec.[jt]s?(x)',
'**/src/**/*.test.[jt]s?(x)',
],
moduleNameMapper: {
'^@/(.*)$' : '<rootDir>/src/$1'
},
};
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment