refactor(plugin-entry): move createPluginModule to testing module

createPluginModule and PluginModuleDeps were exposed at package entry as
a test seam. Their export creates accidental public TS API obligations
for internal manager/tool/hook constructor types. Move to
src/testing/create-plugin-module.ts so only tests reach them.

Closes HIGH-8

Co-authored-by: api-surface (deep / gpt-5.3-codex high)
This commit is contained in:
YeonGyu-Kim
2026-05-16 00:49:03 +09:00
parent a9a003250c
commit c067b0fc06
4 changed files with 185 additions and 185 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { beforeEach, describe, expect, it, mock } from "bun:test"
import { createPluginModule } from "./index"
import { createPluginModule } from "./testing/create-plugin-module"
const mockInitConfigContext = mock(() => {})
const mockInjectServerAuthIntoClient = mock(() => {})