MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / expectDefined

Function expectDefined

packages/hosts/mcp/src/tool-server.test.ts:38–40  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

36};
37
38const expectDefined: <T>(value: T) => asserts value is NonNullable<T> = (value) => {
39 expect(value).toBeDefined();
40};
41
42const makeStubEngine = <E extends Cause.YieldableError = never>(overrides: {
43 execute?: ExecutionEngine<E>["execute"];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected