/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
jest.config.js
67 строк
2 KB
Alexander Akait
feat: safely minify native CSS and HTML via minimizer-webpack-plugin minify functions (#21491)
30 июл 2026, 16:28
Не верифицирован
30 июл 2026, 16:28
7bc7d21
Код
Авторство
О чём код?
"use strict"; /** @type {import("jest").Config} */ const config = { testTimeout: 30000, prettierPath: require.resolve("prettier-2"), forceExit: true, setupFiles: [ "<rootDir>/test/bun-sandbox-setup.js", "<rootDir>/test/deno-worker-setup.js" ], setupFilesAfterEnv: ["<rootDir>/test/setupTestFramework.js"], testMatch: [ "<rootDir>/test/*.test.js", "<rootDir>/test/*.basictest.js", "<rootDir>/test/*.longtest.js", "<rootDir>/test/*.unittest.js", "<rootDir>/test/*.spectest.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$", // Serialized to the minimizer's worker pool as source (like runtime code): // coverage instrumentation would inject counters the worker can't resolve. "[\\\\/]lib[\\\\/](?:css[\\\\/]cssMinify|html[\\\\/]htmlMinify)\\.js$", "<rootDir>/test", "<rootDir>/schemas", "<rootDir>/examples", "<rootDir>/node_modules" ], testEnvironment: "./test/harness/patch-node-env.js", snapshotResolver: "./test/harness/snapshot/resolver.js", coverageReporters: ["json"], snapshotFormat: { escapeString: true, printBasicPrototype: true } }; module.exports = config;