Skip to content

Commit 42ac167

Browse files
author
smyrick
committed
import kotlinx
1 parent 767e89a commit 42ac167

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/kotlin/com/expedia/graphql/execution/FunctionDataFetcherTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import com.expedia.graphql.exceptions.CouldNotCastArgumentException
55
import graphql.schema.DataFetchingEnvironment
66
import io.mockk.every
77
import io.mockk.mockk
8+
import kotlinx.coroutines.coroutineScope
89
import kotlinx.coroutines.delay
910
import org.junit.jupiter.api.Test
1011
import java.util.concurrent.CompletableFuture
@@ -26,7 +27,7 @@ internal class FunctionDataFetcherTest {
2627

2728
fun dataFetchingEnvironment(environment: DataFetchingEnvironment) = environment.field.name
2829

29-
suspend fun suspendPrint(string: String): String = kotlinx.coroutines.coroutineScope {
30+
suspend fun suspendPrint(string: String): String = coroutineScope {
3031
delay(10)
3132
string
3233
}

0 commit comments

Comments
 (0)