JS IR: normalize the generate file path in the box tests
This commit is contained in:
@@ -227,7 +227,7 @@ abstract class BasicIrBoxTest(
|
|||||||
// TODO: should we do anything special for module systems?
|
// TODO: should we do anything special for module systems?
|
||||||
// TODO: return list of js from translateFiles and provide then to this function with other js files
|
// TODO: return list of js from translateFiles and provide then to this function with other js files
|
||||||
|
|
||||||
val allFiles = jsFiles.flatMap { file -> cachedDependencies[file]?.let { deps -> deps + file } ?: listOf(file) }
|
val allFiles = jsFiles.flatMap { file -> cachedDependencies[File(file).absolutePath]?.let { deps -> deps + file } ?: listOf(file) }
|
||||||
testChecker.check(allFiles, testModuleName, testPackage, testFunction, expectedResult, withModuleSystem)
|
testChecker.check(allFiles, testModuleName, testPackage, testFunction, expectedResult, withModuleSystem)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user