自动同步种菜应收对账开发进度 (#95)
This commit is contained in:
parent
1b9e6ed2b3
commit
aaab198edb
@ -53,6 +53,11 @@ export const FEATURE_RULES = [
|
||||
subject: /收款账户|支付宝|store receiving/i,
|
||||
paths: /(?:AlipayBills|StoreReceiving|store-receiving)/i,
|
||||
},
|
||||
{
|
||||
key: 'zhongcai-reconciliation', priority: 100, moduleName: '订单、退款与店铺收款', featureName: '种菜应收对账平台页签与专用表头',
|
||||
subject: /种菜应收|zhongcai reconciliation/i,
|
||||
paths: /(?:zhongcai_reconciliations|ZhongcaiReconciliationPlatformTest)/i,
|
||||
},
|
||||
{
|
||||
key: 'marketing-bills', priority: 60, moduleName: '营销账单与供应商应付', featureName: '淘系、1688、拼多多与京东营销账单',
|
||||
subject: /营销|Alibaba|1688|京东|拼多多|账单.*导出|marketing bills|platform bills/i,
|
||||
|
||||
@ -30,6 +30,10 @@ test('matches exactly one project and rejects ambiguous matches', () => {
|
||||
test('assigns one primary feature and stops on ambiguous feature matches', () => {
|
||||
assert.equal(classifyCommit('财务经营报表增加安装明细', ['app/Models/Business/InstallationDetail.php']).rule.key, 'installation-details')
|
||||
assert.equal(classifyCommit('修复云数据库管理不支持 PostgreSQL 连接', ['app/Http/Controllers/SystemSettings/Databases.php']).rule.key, 'upstream-connections')
|
||||
assert.equal(
|
||||
classifyCommit('feat: align taobao reconciliation headers', ['resources/views/store_receivables/zhongcai_reconciliations/partials/embedded-table.blade.php']).rule.key,
|
||||
'zhongcai-reconciliation',
|
||||
)
|
||||
assert.throws(
|
||||
() => classifyCommit('chore: shared update', ['app/Utilities/SystemDatabaseConfiguration.php', 'modules/EcommerceFinance/Services/UpstreamOdbcConnection.php']),
|
||||
/FEATURE_MATCH_AMBIGUOUS/,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user