1 Star 0 Fork 0

water yuan/webpack-main

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
袁露 提交于 2024-10-19 17:38 . feat: clone webpack
/** @type {import('jest').Config} */
const config = {
prettierPath: require.resolve("prettier-2"),
forceExit: true,
setupFilesAfterEnv: ["<rootDir>/test/setupTestFramework.js"],
testMatch: [
"<rootDir>/test/*.test.js",
"<rootDir>/test/*.basictest.js",
"<rootDir>/test/*.longtest.js",
"<rootDir>/test/*.unittest.js"
],
watchPathIgnorePatterns: [
"<rootDir>/.git",
"<rootDir>/node_modules",
"<rootDir>/test/js",
"<rootDir>/test/browsertest/js",
"<rootDir>/test/fixtures/temp-cache-fixture",
"<rootDir>/test/fixtures/temp-",
"<rootDir>/benchmark",
"<rootDir>/assembly",
"<rootDir>/tooling",
"<rootDir>/examples/*/dist",
"<rootDir>/coverage",
"<rootDir>/.eslintcache"
],
modulePathIgnorePatterns: [
"<rootDir>/.git",
"<rootDir>/node_modules/webpack/node_modules",
"<rootDir>/test/js",
"<rootDir>/test/browsertest/js",
"<rootDir>/test/fixtures/temp-cache-fixture",
"<rootDir>/test/fixtures/temp-",
"<rootDir>/benchmark",
"<rootDir>/examples/*/dist",
"<rootDir>/coverage",
"<rootDir>/.eslintcache"
],
transformIgnorePatterns: ["<rootDir>"],
coverageDirectory: "<rootDir>/coverage",
coveragePathIgnorePatterns: [
"\\.runtime\\.js$",
"<rootDir>/test",
"<rootDir>/schemas",
"<rootDir>/node_modules"
],
testEnvironment: "./test/patch-node-env.js",
coverageReporters: ["json"],
snapshotFormat: {
escapeString: true,
printBasicPrototype: true
}
};
module.exports = config;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuanlu123/webpack-main.git
git@gitee.com:yuanlu123/webpack-main.git
yuanlu123
webpack-main
webpack-main
master

搜索帮助