Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
72
export
function
expect(actual: unknown): Matchers {
73
return
createMatchers(actual);
74
}
Callers
15
index.test.ts
File · 0.85
server-runtime.test.ts
File · 0.85
integration.test.ts
File · 0.85
deps.test.ts
File · 0.85
file.test.ts
File · 0.85
findRouteIndex
Function · 0.85
routes.test.ts
File · 0.85
index.test.ts
File · 0.85
index.test.ts
File · 0.85
mastra-instance-wrapper.test.ts
File · 0.85
postgres-store-instance-checker.test.ts
File · 0.85
createProviderTests
Function · 0.85
Calls
1
createMatchers
Function · 0.85
Tested by
15
findRouteIndex
Function · 0.68
extractJsonProperties
Function · 0.68
expectErrorDetailsMessage
Function · 0.68
expectMetadataEmitted
Function · 0.68
getInitialStreamOptions
Function · 0.68
makeFallbackChannels
Function · 0.68
expectNoToolExecution
Function · 0.68
waitForRawFrame
Function · 0.68
checkIterations
Function · 0.68
agentE2ETests
Function · 0.68
agentTests
Function · 0.68
testStructuredOutput
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…