feat: 完善 TDD 开发环境配置
- 配置 Jest 测试框架,支持 TypeScript 和 React 组件测试 - 添加 Testing Library 相关依赖用于 React 组件测试 - 配置 Babel 预设支持 Jest 和 React 测试环境 - 添加 TDD 开发工作流脚本 (test, test:watch, test:coverage) - 创建完整的 TDD 编码规范文档 (CLAUDE.md) - 添加自定义 hooks 和多平台支持目录结构 - 配置 TypeScript 严格模式和 ESLint 规范 - 添加全局类型定义文件支持
This commit is contained in:
@@ -4,7 +4,7 @@ import devConfig from './dev'
|
||||
import prodConfig from './prod'
|
||||
|
||||
// https://taro-docs.jd.com/docs/next/config#defineconfig-辅助函数
|
||||
export default defineConfig<'vite'>(async (merge, { command, mode }) => {
|
||||
export default defineConfig<'vite'>(async (merge) => {
|
||||
const baseConfig: UserConfigExport<'vite'> = {
|
||||
projectName: 'bw-mini-app',
|
||||
date: '2025-9-1',
|
||||
|
||||
Reference in New Issue
Block a user