[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user