refactor: remove slashcommand tool implementation

This commit is contained in:
YeonGyu-Kim
2026-02-21 14:38:18 +09:00
parent 552ad3a09c
commit ee5df1683e
9 changed files with 19 additions and 394 deletions
+17
View File
@@ -0,0 +1,17 @@
import { describe, expect, it } from "bun:test"
import * as slashcommand from "./index"
describe("slashcommand module exports", () => {
it("exports discovery API only", () => {
// given
const moduleExports = slashcommand as Record<string, unknown>
// when
const exportNames = Object.keys(moduleExports)
// then
expect(exportNames).toContain("discoverCommandsSync")
expect(exportNames).not.toContain("createSlashcommandTool")
expect(exportNames).not.toContain("slashcommand")
})
})