Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Jul 5, 2022
1 parent f9357fa commit 682306b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/commonTest/kotlin/com/hoc081098/flowext/SkipUntilTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ class SkipUntilTest : BaseStepTest() {
Event.Complete
)
)

flowOf(1, 2, 3)
.onEach { delay(100) }
.dropUntil(timer(Unit, 150))
.test(
listOf(
Event.Value(2),
Event.Value(3),
Event.Complete
)
)
}

@Test
Expand Down

0 comments on commit 682306b

Please sign in to comment.