Skip to content

Commit ff375d1

Browse files
committed
Fix JS compilation
1 parent b53fc9b commit ff375d1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

utbot-js/src/main/kotlin/api/JsUtModelConstructor.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import org.utbot.framework.plugin.api.UtExecutableCallModel
2121
import org.utbot.framework.plugin.api.UtModel
2222
import org.utbot.instrumentation.instrumentation.execution.constructors.UtModelConstructorInterface
2323

24-
class JsUtModelConstructor : UtModelConstructorInterface {
24+
class JsUtModelConstructor {
2525

2626
// TODO SEVERE: Requires substantial expansion to other types
2727
@Suppress("NAME_SHADOWING")
28-
override fun construct(value: Any?, classId: ClassId): UtModel {
28+
fun construct(value: Any?, classId: ClassId): UtModel {
2929
val classId = classId as JsClassId
3030
if (classId == jsErrorClassId) return UtModel(jsErrorClassId)
3131
return when (value) {

utbot-js/src/main/kotlin/framework/codegen/model/constructor/tree/JsCgMethodConstructor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package framework.codegen.model.constructor.tree
22

33
import framework.api.js.JsClassId
44
import org.utbot.framework.codegen.domain.context.CgContext
5+
import org.utbot.framework.codegen.domain.models.CgMethodTestSet
56
import org.utbot.framework.codegen.domain.models.CgTestMethod
67
import org.utbot.framework.codegen.domain.models.CgTestMethodType
78
import org.utbot.framework.codegen.domain.models.CgValue

0 commit comments

Comments
 (0)