4 Star 4 Fork 2

Gitee 极速下载 / webpack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/webpack/webpack
克隆/下载
jest.config.js 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
/** @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;
1
https://gitee.com/mirrors/webpack.git
git@gitee.com:mirrors/webpack.git
mirrors
webpack
webpack
main

搜索帮助