Files
photo-live/services/api/jest.e2e.config.ts
T
2026-09-17 19:14:41 +08:00

12 lines
386 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 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;