File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/kotlin/com/expedia/graphql/execution Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.expedia.graphql.exceptions.CouldNotCastArgumentException
5
5
import graphql.schema.DataFetchingEnvironment
6
6
import io.mockk.every
7
7
import io.mockk.mockk
8
+ import kotlinx.coroutines.coroutineScope
8
9
import kotlinx.coroutines.delay
9
10
import org.junit.jupiter.api.Test
10
11
import java.util.concurrent.CompletableFuture
@@ -26,7 +27,7 @@ internal class FunctionDataFetcherTest {
26
27
27
28
fun dataFetchingEnvironment (environment : DataFetchingEnvironment ) = environment.field.name
28
29
29
- suspend fun suspendPrint (string : String ): String = kotlinx.coroutines. coroutineScope {
30
+ suspend fun suspendPrint (string : String ): String = coroutineScope {
30
31
delay(10 )
31
32
string
32
33
}
You can’t perform that action at this time.
0 commit comments