[JS IC TEST] Support deleted files list in module step

This commit is contained in:
Roman Artemev
2021-12-17 06:37:01 +03:00
committed by teamcity
parent 2dd519c91f
commit 2ace13a904
2 changed files with 8 additions and 7 deletions
@@ -129,8 +129,9 @@ abstract class AbstractInvalidationTest : KotlinTestWithEnvironment() {
val moduleSourceDir = File(sourceDir, module)
val moduleInfo = moduleInfos[module] ?: error("No module info found for $module")
val moduleStep = moduleInfo.steps[projStep.id]
val deletedFiles = mutableListOf<File>()
for (modification in moduleStep.modifications) {
modification.execute(moduleTestDir, moduleSourceDir)
modification.execute(moduleTestDir, moduleSourceDir) { deletedFiles.add(it) }
}
val dependencies = moduleStep.dependencies.map { resolveModuleArtifact(it, buildDir) }