feat(api): cn-app skeleton, toolchain, env loading convention
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user