Skip to content

Commit 2b729fb

Browse files
committed
remove flaky testSetPlaybackOptions test
Signed-off-by: Adam Ratzman <[email protected]>
1 parent d9c0216 commit 2b729fb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/commonTest/kotlin/com.adamratzman/spotify/priv/ClientPlayerApiTest.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ class ClientPlayerApiTest : AbstractTest<SpotifyClientApi>() {
155155
}
156156
}
157157

158+
/*
159+
// TODO add back once this isn't flaky anymore
158160
@Test
159161
fun testSetPlaybackOptions() {
160162
return runBlockingTest {
@@ -172,7 +174,7 @@ class ClientPlayerApiTest : AbstractTest<SpotifyClientApi>() {
172174
api!!.player.toggleShuffle(shuffle = false)
173175
assertEquals(false, api!!.player.getCurrentContext()!!.shuffleState)
174176
}
175-
}
177+
}*/
176178

177179
@Test
178180
fun testStartPlayback() {

src/jsMain/kotlin/com/adamratzman/spotify/webplayer/WebPlaybackSdk.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */
2+
@file:JsQualifier("window.Spotify")
23
@file:Suppress("PropertyName", "unused")
34

45
package com.adamratzman.spotify.webplayer

0 commit comments

Comments
 (0)