MCPcopy
hub / github.com/mastra-ai/mastra / expect

Function expect

mastracode/e2e/tui/expect.ts:72–74  ·  view source on GitHub ↗
(actual: unknown)

Source from the content-addressed store, hash-verified

70}
71
72export function expect(actual: unknown): Matchers {
73 return createMatchers(actual);
74}

Callers 15

index.test.tsFile · 0.85
deps.test.tsFile · 0.85
file.test.tsFile · 0.85
findRouteIndexFunction · 0.85
routes.test.tsFile · 0.85
index.test.tsFile · 0.85
index.test.tsFile · 0.85
createProviderTestsFunction · 0.85

Calls 1

createMatchersFunction · 0.85

Tested by 15

findRouteIndexFunction · 0.68
extractJsonPropertiesFunction · 0.68
expectMetadataEmittedFunction · 0.68
getInitialStreamOptionsFunction · 0.68
makeFallbackChannelsFunction · 0.68
expectNoToolExecutionFunction · 0.68
waitForRawFrameFunction · 0.68
checkIterationsFunction · 0.68
agentE2ETestsFunction · 0.68
agentTestsFunction · 0.68
testStructuredOutputFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…