MCPcopy
hub / github.com/garrytan/gstack / fn

Function fn

test/resolver-entry.test.ts:30–30  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

28describe('unwrapResolver — plain function pass-through', () => {
29 test('returns the function as-is, no gate', () => {
30 const fn: ResolverFn = (ctx) => `hello-${ctx.skillName}`;
31 const { resolve, appliesTo } = unwrapResolver(fn);
32 expect(resolve(makeCtx())).toBe('hello-test-skill');
33 expect(appliesTo).toBeUndefined();

Callers 11

withErrorContextFunction · 0.85
withBoardMutexFunction · 0.85
withEnvFunction · 0.85
withEnvFunction · 0.85
withTempFileFunction · 0.85
withFreezeDirFunction · 0.85
describeWithWorktreeFunction · 0.85
emitFunction · 0.85
makeFakePageFunction · 0.85
withCdpSessionFunction · 0.85
internalHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected