Skip to content

Commit 4a139ba

Browse files
committed
fix browser target
Signed-off-by: Adam Ratzman <[email protected]>
1 parent c41888b commit 4a139ba

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ kotlin {
142142
}
143143
}
144144

145-
nodejs {
145+
/*nodejs {
146146
testTask {
147147
useMocha {
148148
timeout = "15000"
149149
}
150150
}
151-
}
151+
}*/
152152

153153
if (irOnlyJs) binaries.library()
154154
}

src/commonTest/kotlin/com.adamratzman/spotify/pub/EpisodeApiTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class EpisodeApiTest : AbstractTest<GenericSpotifyApi>() {
2525
"The Great Inflation (Classic)",
2626
api!!.episodes.getEpisode("3lMZTE81Pbrp0U12WZe27l", market = market)?.name
2727
)
28-
println("sample episode: ${api!!.episodes.getEpisode("3lMZTE81Pbrp0U12WZe27l", market)?.name}")
2928
}
3029
}
3130

src/commonTest/kotlin/com.adamratzman/spotify/pub/PublicArtistsApiTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class PublicArtistsApiTest : AbstractTest<GenericSpotifyApi>() {
2020
return runBlockingTest {
2121
super.build<GenericSpotifyApi>()
2222
if (!testPrereq()) return@runBlockingTest else api!!
23-
println("here3")
2423
assertNull(api!!.artists.getArtist("adkjlasdf"))
2524
assertNotNull(api!!.artists.getArtist("66CXWjxzNUsdJxJ2JdwvnR"))
2625
assertFailsWith<SpotifyException.BadRequestException> { api!!.artists.getArtists() }

src/jsBrowserExtensionsTest/kotlin/com/adamratzman/spotify/CommonImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */
22
package com.adamratzman.spotify
33

4+
import com.soywiz.korio.process
45
import kotlinx.coroutines.CoroutineScope
56
import kotlinx.coroutines.GlobalScope
67
import kotlinx.coroutines.promise

0 commit comments

Comments
 (0)