加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/umijs/umi
克隆/下载
jest.e2e.config.ts 452 Bytes
一键复制 编辑 原始数据 按行查看 历史
平淡95277 提交于 2022-03-30 10:28 . test: add e2e case (#548)
import { Config, createConfig } from 'umi/test';
export default {
...createConfig(),
preset: 'jest-playwright-preset',
setupFilesAfterEnv: ['expect-playwright'],
testMatch: ['**/*.e2e.ts'],
modulePathIgnorePatterns: [
'<rootDir>/packages/.+/compiled',
'<rootDir>/packages/.+/fixtures',
'<rootDir>/test/.+/fixtures',
],
moduleNameMapper: {
'test-utils': '<rootDir>/test/lib/testUtils.ts',
},
} as Config.InitialOptions;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化