[K/JS] Migrate invalidation tests to ES modules

This commit is contained in:
Artem Kobzar
2023-06-30 16:13:35 +00:00
committed by Space Team
parent 209c916a7e
commit 966a342bf1
33 changed files with 14 additions and 138 deletions
@@ -373,7 +373,7 @@ abstract class AbstractInvalidationTest(private val targetBackend: TargetBackend
private fun String.isAllowedKtFile() = endsWith(".kt") && !TEST_FILE_IGNORE_PATTERN.matches(this)
private fun String.isAllowedJsFile() = endsWith(".js") && !TEST_FILE_IGNORE_PATTERN.matches(this)
private fun String.isAllowedJsFile() = (endsWith(".js") || endsWith(".mjs")) && !TEST_FILE_IGNORE_PATTERN.matches(this)
protected fun File.filteredKtFiles(): Collection<File> {
assert(isDirectory && exists())