[K/Wasm] Generate .d.ts tests for K/Wasm in the same way as we do for K/JS ^KT-65778 Fixed

This commit is contained in:
Artem Kobzar
2024-03-05 15:33:56 +00:00
committed by Space Team
parent c2023142f5
commit 8d4948c3ee
310 changed files with 1643 additions and 1370 deletions
@@ -140,11 +140,11 @@ fun main(args: Array<String>) {
}
testClass<AbstractIrJsTypeScriptExportTest> {
model("typescript-export/", pattern = "^([^_](.+))\\.kt$")
model("typescript-export/js/", pattern = "^([^_](.+))\\.kt$")
}
testClass<AbstractIrJsES6TypeScriptExportTest> {
model("typescript-export/", pattern = "^([^_](.+))\\.kt$")
model("typescript-export/js/", pattern = "^([^_](.+))\\.kt$")
}
testClass<AbstractJsIrLineNumberTest> {
@@ -164,11 +164,11 @@ fun main(args: Array<String>) {
}
testClass<AbstractFirJsTypeScriptExportTest> {
model("typescript-export/", pattern = "^([^_](.+))\\.kt$")
model("typescript-export/js/", pattern = "^([^_](.+))\\.kt$")
}
testClass<AbstractFirJsES6TypeScriptExportTest> {
model("typescript-export/", pattern = "^([^_](.+))\\.kt$")
model("typescript-export/js/", pattern = "^([^_](.+))\\.kt$")
}
testClass<AbstractFirJsLineNumberTest> {
@@ -101,7 +101,7 @@ open class AbstractIrJsCodegenInlineTest : AbstractJsIrTest(
)
open class AbstractIrJsTypeScriptExportTest : AbstractJsIrTest(
pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/typescript-export/",
pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/typescript-export/js/",
testGroupOutputDirPrefix = "typescript-export/ir/"
) {
override fun configure(builder: TestConfigurationBuilder) {
@@ -111,7 +111,7 @@ open class AbstractIrJsTypeScriptExportTest : AbstractJsIrTest(
}
open class AbstractIrJsES6TypeScriptExportTest : AbstractJsIrES6Test(
pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/typescript-export/",
pathToTestDir = "${JsEnvironmentConfigurator.TEST_DATA_DIR_PATH}/typescript-export/js/",
testGroupOutputDirPrefix = "typescript-export/ir-es6/"
) {
override fun configure(builder: TestConfigurationBuilder) {