persist artwork seeds in the database

This commit is contained in:
austinried
2026-10-04 00:29:53 +00:00
parent 2808568a7a
commit 1701aeaf79
10 changed files with 898 additions and 8 deletions
@@ -55,9 +55,10 @@ class ArtworkExtractionTest {
@Test
fun resolvesColorsFromCoverArt() {
val ref = CoverArtRef(url = "art", cacheKey = "art-${System.nanoTime()}")
var colors: ArtworkColors? = null
composeRule.setContent {
colors = rememberArtworkColors(CoverArtRef(url = "art", cacheKey = "art"))
colors = rememberArtworkColors(ref)
}
composeRule.waitUntil(timeoutMillis = 5_000) { colors != null }
assertNotNull(colors)