Skip to content

Commit a732968

Browse files
committed
Move sse test to jvm and enable
1 parent cc2a8e7 commit a732968

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

kotlin-sdk-test/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ kotlin {
2424
}
2525
jvmTest {
2626
dependencies {
27+
implementation(kotlin("test"))
2728
implementation(kotlin("test-junit5"))
2829
implementation(libs.awaitility)
2930
runtimeOnly(libs.slf4j.simple)
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import io.ktor.server.sse.SSE as ServerSSE
3333

3434
class SseIntegrationTest {
3535
@Test
36-
@Ignore // Ignored because it doesn’t work with wasm/js in Ktor 3.2.3
3736
fun `client should be able to connect to sse server`() = runTest(timeout = 5.seconds) {
3837
var server: EmbeddedServer<CIOApplicationEngine, CIOApplicationEngine.Configuration>? = null
3938
var client: McpClient? = null
@@ -58,7 +57,6 @@ class SseIntegrationTest {
5857
* 3. Observe that Client A receives a response related to it.
5958
*/
6059
@Test
61-
@Ignore // Ignored because it doesn’t work with wasm/js in Ktor 3.2.3
6260
fun `single sse connection`() = runTest(timeout = 5.seconds) {
6361
var server: EmbeddedServer<CIOApplicationEngine, CIOApplicationEngine.Configuration>? = null
6462
var client: McpClient? = null
@@ -86,7 +84,6 @@ class SseIntegrationTest {
8684
* 4. Observe that Client B (connection #2) receives a response related to sessionId#1.
8785
*/
8886
@Test
89-
@Ignore // Ignored because it doesn’t work with wasm/js in Ktor 3.2.3
9087
fun `multiple sse connections`() = runTest(timeout = 5.seconds) {
9188
var server: EmbeddedServer<CIOApplicationEngine, CIOApplicationEngine.Configuration>? = null
9289
var clientA: McpClient? = null

0 commit comments

Comments
 (0)