mirror of https://github.com/webpack/webpack.git
chore: ignore unstable coverage
This commit is contained in:
parent
b38a6b558b
commit
2f066d9ff1
|
|
@ -2578,6 +2578,8 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|||
p.calculate();
|
||||
|
||||
const logger = this.getLogger("webpack.Compilation.ModuleProfile");
|
||||
// Avoid coverage problems due indirect changes
|
||||
/* istanbul ignore next */
|
||||
const logByValue = (value, msg) => {
|
||||
if (value > 1000) {
|
||||
logger.error(msg);
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@ class MemoryWithGcCachePlugin {
|
|||
generation++;
|
||||
let clearedEntries = 0;
|
||||
let lastClearedIdentifier;
|
||||
// Avoid coverage problems due indirect changes
|
||||
/* istanbul ignore next */
|
||||
for (const [identifier, entry] of oldCache) {
|
||||
if (entry.until > generation) break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue