Skip to content

Commit 9b5d62d

Browse files
committed
update test
1 parent a659c96 commit 9b5d62d

File tree

1 file changed

+3
-0
lines changed
  • library/src/androidTest/java/org/xmtp/android/library

1 file changed

+3
-0
lines changed

library/src/androidTest/java/org/xmtp/android/library/GroupTest.kt

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package org.xmtp.android.library
22

33
import androidx.test.ext.junit.runners.AndroidJUnit4
44
import androidx.test.platform.app.InstrumentationRegistry
5+
import app.cash.turbine.test
6+
import kotlinx.coroutines.ExperimentalCoroutinesApi
57
import kotlinx.coroutines.runBlocking
68
import org.junit.Assert.assertEquals
79
import org.junit.Assert.assertThrows
@@ -198,6 +200,7 @@ class GroupTest {
198200
assertEquals(ReactionSchema.Unicode, content?.schema)
199201
}
200202

203+
@OptIn(ExperimentalCoroutinesApi::class)
201204
@Test
202205
fun testCanStreamGroupMessages() = kotlinx.coroutines.test.runTest {
203206
val group = boClient.conversations.newGroup(listOf(alix.walletAddress.lowercase()))

0 commit comments

Comments
 (0)