Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ database.mock.ts
File
database.mock.ts
packages/testing/src/mocks/database.mock.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ vi } from
'vitest'
2
3
/**
4
* Creates mock SQL template literal
function
.
Callers
nothing calls this directly
Calls
6
terminalBuilder
Function · 0.85
createMockDb
Function · 0.85
createMockSql
Function · 0.85
createMockSqlOperators
Function · 0.85
resolve
Method · 0.65
fn
Function · 0.50
Tested by
no test coverage detected