feat(api): cn-app skeleton, toolchain, env loading convention

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-17 19:14:41 +08:00
parent f77ab5ae4b
commit 7d250ec342
21 changed files with 1655 additions and 27 deletions
+11
View File
@@ -0,0 +1,11 @@
// services/api/jest.e2e.config.ts —— e2e(test/*.e2e-spec.ts),复用单测配置,
// 仅切换 testMatch;隔离工具见 test/reset.ts(每个 spec 的 beforeAll 调用)。
import type { Config } from 'jest';
import baseConfig from './jest.config';
const config: Config = {
...baseConfig,
testMatch: ['<rootDir>/test/**/*.e2e-spec.ts'],
};
export default config;