1
0
mirror of https://github.com/actions/labeler synced 2026-05-12 00:41:12 +02:00
This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -308,10 +308,14 @@ class TestScheduler {
const status = _jestSnapshot().default.cleanup(
context.hasteFS,
_this._globalConfig.updateSnapshot,
_jestSnapshot().default.buildSnapshotResolver(context.config)
_jestSnapshot().default.buildSnapshotResolver(context.config),
context.config.testPathIgnorePatterns
);
aggregatedResults.snapshot.filesRemoved += status.filesRemoved;
aggregatedResults.snapshot.filesRemovedList = (
aggregatedResults.snapshot.filesRemovedList || []
).concat(status.filesRemovedList);
});
const updateAll = _this._globalConfig.updateSnapshot === 'all';
aggregatedResults.snapshot.didUpdate = updateAll;