Skip to content

Commit 199e24d

Browse files
committed
fixup! Introduce Kotlin integration tests
1 parent 5c38234 commit 199e24d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TypeScriptTestBase.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,14 @@ abstract class TypeScriptTestBase {
185185
.command(
186186
"cmd.exe",
187187
"/c",
188-
"set MCP_PORT=$port && set NODE_PATH=${sdkDir.absolutePath}\\node_modules && npx --prefix \"${sdkDir.absolutePath}\" tsx \"$localServerPath\""
188+
"set MCP_PORT=$port && set NODE_PATH=${sdkDir.absolutePath}\\node_modules && npx --prefix \"${sdkDir.absolutePath}\" tsx \"$localServerPath\"",
189189
)
190190
} else {
191191
ProcessBuilder()
192192
.command(
193193
"bash",
194194
"-c",
195-
"MCP_PORT=$port NODE_PATH='${sdkDir.absolutePath}/node_modules' npx --prefix '${sdkDir.absolutePath}' tsx \"$localServerPath\""
195+
"MCP_PORT=$port NODE_PATH='${sdkDir.absolutePath}/node_modules' npx --prefix '${sdkDir.absolutePath}' tsx \"$localServerPath\"",
196196
)
197197
}
198198

kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/simpleStreamableHttp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ async function main() {
3030
} = await importFromSdk<any>('src/types.ts');
3131
const {InMemoryEventStore} = await importFromSdk<any>('src/examples/shared/inMemoryEventStore.ts');
3232
const {setupAuthServer} = await importFromSdk<any>('src/examples/server/demoInMemoryOAuthProvider.ts');
33-
const {OAuthMetadata} = await importFromSdk<any>('src/shared/auth.ts');
3433
const {checkResourceAllowed} = await importFromSdk<any>('src/shared/auth-utils.ts');
3534

3635
// Check for OAuth flag

0 commit comments

Comments
 (0)