Skip to content

Commit 40e604b

Browse files
committed
Release 5.1.0-alpha02
Signed-off-by: mramotar <mramotar@dropbox.com>
1 parent 29fe667 commit 40e604b

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434

3535
#### Android
3636
```kotlin
37-
implementation "org.mobilenativefoundation.store:store5:5.1.0-alpha01"
37+
implementation "org.mobilenativefoundation.store:store5:5.1.0-alpha02"
3838
```
3939

4040
#### Multiplatform (Common, JVM, Native, JS)
4141

4242
```kotlin
4343
commonMain {
4444
dependencies {
45-
implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha01")
45+
implementation("org.mobilenativefoundation.store:store5:5.1.0-alpha02")
4646
}
4747
}
4848
```

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-XX:MaxMetaspaceSize=2G
88

99
# POM file
1010
GROUP=org.mobilenativefoundation.store
11-
VERSION_NAME=5.1.0-alpha01
11+
VERSION_NAME=5.1.0-alpha02
1212
POM_PACKAGING=pom
1313
POM_DESCRIPTION = Store5 is a Kotlin Multiplatform network-resilient repository layer
1414

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ testCore = "1.5.0"
2121
kmmBridge = "0.3.2"
2222
ktlint = "0.39.0"
2323
kover = "0.6.0"
24-
store = "5.1.0-alpha01"
24+
store = "5.1.0-alpha02"
2525
truth = "1.1.3"
2626

2727
[libraries]

paging/src/commonTest/kotlin/org/mobilenativefoundation/store/paging5/LaunchPagingStoreTests.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,16 @@ class LaunchPagingStoreTests {
7171
val state2 = awaitItem()
7272
assertIs<StoreReadResponse.Loading>(state2)
7373
val state3 = awaitItem()
74-
assertIs<StoreReadResponse.Data<PostData>>(state3)
75-
expectNoEvents()
74+
assertIs<StoreReadResponse.Data<PostData.Feed>>(state3)
75+
assertEquals("1", state3.value.posts[0].postId)
7676

7777
val state4 = awaitItem()
78-
assertIs<StoreReadResponse.Data<PostData>>(state4)
78+
assertIs<StoreReadResponse.Data<PostData.Feed>>(state4)
79+
assertEquals("11", state4.value.posts[0].postId)
80+
assertEquals("1", state4.value.posts[10].postId)
7981
val data4 = state4.value
8082
assertIs<PostData.Feed>(data4)
8183
assertEquals(20, data4.items.size)
82-
8384
expectNoEvents()
8485
}
8586
}

0 commit comments

Comments
 (0)