MCPcopy
hub / github.com/modstart-lib/aigcpanel / testActionSet

Function testActionSet

src/utils/test.ts:75–77  ·  view source on GitHub ↗
(name: string, fn: TestAction)

Source from the content-addressed store, hash-verified

73
74// ===== 导出函数 =====
75export function testActionSet(name: string, fn: TestAction): void {
76 testRegistry.setAction(name, fn);
77}
78
79export function testActionUnset(name: string | string[]): void {
80 testRegistry.unsetAction(name);

Callers

nothing calls this directly

Calls 1

setActionMethod · 0.80

Tested by

no test coverage detected