From 8c2b201c4af229123c16d518f13ee55cdd95b2af Mon Sep 17 00:00:00 2001 From: Maksim Pelevin Date: Tue, 21 Mar 2023 11:31:25 +0300 Subject: [PATCH 1/2] Fix import for ProjectType --- utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt b/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt index eda076d581..0e36f62d73 100644 --- a/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt +++ b/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt @@ -5,12 +5,7 @@ import framework.codegen.JsCgLanguageAssistant import framework.codegen.JsImport import framework.codegen.Mocha import org.utbot.framework.codegen.CodeGeneratorResult -import org.utbot.framework.codegen.domain.ForceStaticMocking -import org.utbot.framework.codegen.domain.HangingTestsTimeout -import org.utbot.framework.codegen.domain.ParametrizedTestSource -import org.utbot.framework.codegen.domain.RuntimeExceptionTestsBehaviour -import org.utbot.framework.codegen.domain.StaticsMocking -import org.utbot.framework.codegen.domain.TestFramework +import org.utbot.framework.codegen.domain.* import org.utbot.framework.codegen.domain.context.CgContext import org.utbot.framework.codegen.domain.models.CgClassFile import org.utbot.framework.codegen.domain.models.CgMethodTestSet From 83077614f666063462d3f8fb00dfd2a5f7185625 Mon Sep 17 00:00:00 2001 From: Maksim Pelevin Date: Tue, 21 Mar 2023 11:42:08 +0300 Subject: [PATCH 2/2] Unwrap imports --- utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt b/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt index 0e36f62d73..cecd57dbac 100644 --- a/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt +++ b/utbot-js/src/main/kotlin/codegen/JsCodeGenerator.kt @@ -5,7 +5,13 @@ import framework.codegen.JsCgLanguageAssistant import framework.codegen.JsImport import framework.codegen.Mocha import org.utbot.framework.codegen.CodeGeneratorResult -import org.utbot.framework.codegen.domain.* +import org.utbot.framework.codegen.domain.ForceStaticMocking +import org.utbot.framework.codegen.domain.HangingTestsTimeout +import org.utbot.framework.codegen.domain.ParametrizedTestSource +import org.utbot.framework.codegen.domain.ProjectType +import org.utbot.framework.codegen.domain.RuntimeExceptionTestsBehaviour +import org.utbot.framework.codegen.domain.StaticsMocking +import org.utbot.framework.codegen.domain.TestFramework import org.utbot.framework.codegen.domain.context.CgContext import org.utbot.framework.codegen.domain.models.CgClassFile import org.utbot.framework.codegen.domain.models.CgMethodTestSet