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

Function expectString

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

Source from the content-addressed store, hash-verified

32}> {}
33
34const expectString: (value: unknown) => asserts value is string = (value) => {
35 expect(typeof value).toBe("string");
36};
37
38const expectDefined: <T>(value: T) => asserts value is NonNullable<T> = (value) => {
39 expect(value).toBeDefined();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected