[JS TESTS] Rewrite js tests using new test infrastructure

This commit is contained in:
Ivan Kylchik
2021-08-28 15:51:42 +03:00
parent 4deab9693e
commit a2d2ace71a
51 changed files with 17973 additions and 11986 deletions
@@ -17,4 +17,8 @@ abstract class ModuleStructureExtractor @OptIn(TestInfrastructureInternals::clas
testDataFileName: String,
directivesContainer: DirectivesContainer,
): TestModuleStructure
companion object {
const val DEFAULT_MODULE_NAME = "main"
}
}
@@ -100,3 +100,6 @@ val TestFile.isKtsFile: Boolean
val TestFile.isJavaFile: Boolean
get() = name.endsWith(".java")
val TestFile.isJsFile: Boolean
get() = name.endsWith(".js")