后端迁移测试文件
This commit is contained in:
@@ -886,6 +886,14 @@
|
||||
- `npm run build`
|
||||
- `npm test` 共 139 个用例通过
|
||||
237. 除 `dist`、`node_modules` 和测试文件外,`apps/backend` 目录下非测试 `.js` 文件已全部迁移为 `.ts`
|
||||
238. 后端测试文件迁移到 `.test.ts`:
|
||||
- `src/**/*.test.ts` 共 33 个测试文件
|
||||
239. `npm test` 改为同时查找 `.test.ts` / `.test.js`,`tsconfig.json` 与 `tsconfig.build.json` 排除 `.test.ts`,避免测试 mock 数据被生产编译约束
|
||||
240. Docker 内验证通过:
|
||||
- `npm run typecheck`
|
||||
- `npm run build`
|
||||
- `npm test` 共 139 个用例通过
|
||||
241. 除 `dist` 和 `node_modules` 外,`apps/backend` 目录下 `.js` 文件已全部迁移完成
|
||||
|
||||
## 下一步建议
|
||||
|
||||
|
||||
Reference in New Issue
Block a user