diff --git a/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation.kt b/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation.kt index 0aa7babb48c..ce2934cc3a4 100644 --- a/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation.kt +++ b/compiler/tests-common/tests/org/jetbrains/kotlin/checkers/AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation.kt @@ -40,7 +40,7 @@ abstract class AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation : Abstra val diagnostics = analysisResult.bindingTrace.bindingContext.diagnostics if (!hasError(diagnostics)) { - val translator = K2JSTranslator(config, true) + val translator = K2JSTranslator(config, false) translator.translate(object : JsConfig.Reporter() {}, files, MainCallParameters.noCall(), analysisResult) } diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/AbstractJsLineNumberTest.kt b/js/js.tests/test/org/jetbrains/kotlin/js/test/AbstractJsLineNumberTest.kt index 29d3e799d21..8d8799e9736 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/AbstractJsLineNumberTest.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/AbstractJsLineNumberTest.kt @@ -55,7 +55,7 @@ abstract class AbstractJsLineNumberTest : KotlinTestWithEnvironment() { orderedModules.asReversed().forEach { module -> val baseOutputPath = module.outputFileName(file) - val translator = K2JSTranslator(createConfig(module, file, modules), true) + val translator = K2JSTranslator(createConfig(module, file, modules), false) val units = module.files.map { TranslationUnit.SourceFile(createPsiFile(it.fileName)) } val translationResult = translator.translateUnits(ExceptionThrowingReporter, units, MainCallParameters.noCall()) diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt b/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt index 4dd80ae8f64..f680c0b735f 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt @@ -461,7 +461,7 @@ abstract class BasicBoxTest( runtime: JsIrTestRuntime, isMainModule: Boolean ) { - val translator = K2JSTranslator(config, true) + val translator = K2JSTranslator(config, false) val translationResult = translator.translateUnits(ExceptionThrowingReporter, units, mainCallParameters) if (translationResult !is TranslationResult.Success) {