完善本地质量门禁与资金链路测试
This commit is contained in:
@@ -15,5 +15,22 @@ export default defineConfig({
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
include: ['src/**/*.{spec,test}.ts'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json-summary'],
|
||||
include: [
|
||||
'src/features/admin/api/adminPayments.ts',
|
||||
'src/features/admin/utils/adminOrderPresentation.ts',
|
||||
'src/features/orders/composables/useOrderPaymentCashier.ts',
|
||||
'src/features/wallet/api/wallet.ts',
|
||||
'src/features/wallet/api/withdrawal.ts',
|
||||
],
|
||||
thresholds: {
|
||||
statements: 80,
|
||||
branches: 70,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user