feat(发货单): 新增发货单打印功能及明细管理
refactor(组件): 重构发货单明细表格为独立组件 feat(组件): 添加发货单打印预览组件 fix(登录页): 移除默认用户名和密码 style(钢卷面板): 添加显示控制属性并优化布局 chore: 添加vitest测试配置和依赖
This commit is contained in:
19
klp-ui/vitest.config.js
Normal file
19
klp-ui/vitest.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
// 使用jsdom环境进行测试
|
||||
environment: 'jsdom',
|
||||
// 测试文件匹配模式
|
||||
include: ['src/**/*.test.js'],
|
||||
// 覆盖率配置
|
||||
coverage: {
|
||||
reporter: ['text', 'json', 'html']
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': './src'
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user