Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/ai
/ create-code-mode.test.ts
File
create-code-mode.test.ts
packages/ai-code-mode/tests/create-code-mode.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi } from
'vitest'
2
import
{ z } from
'zod'
3
import
{ toolDefinition } from
'@tanstack/ai'
4
import
{ createCodeMode } from
'../src/create-code-mode'
Callers
nothing calls this directly
Calls
4
createCodeMode
Function · 0.90
toolDefinition
Function · 0.90
createMockDriver
Function · 0.70
createMockTool
Function · 0.70
Tested by
no test coverage detected