Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ blocks.test.ts
File
blocks.test.ts
apps/sim/blocks/blocks.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
3
vi.unmock(
'@/blocks/registry'
)
4
Callers
nothing calls this directly
Calls
15
getAllBlocks
Function · 0.90
getAllBlockTypes
Function · 0.90
getBlock
Function · 0.90
getBlockByToolName
Function · 0.90
getBlocksByCategory
Function · 0.90
isValidBlockType
Function · 0.90
generateRouterPrompt
Function · 0.90
serializeCondition
Function · 0.85
join
Method · 0.80
test
Method · 0.80
set
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected