Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ access.test.ts
File
access.test.ts
apps/sim/lib/credentials/access.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it, vi } from
'vitest'
2
3
const
{ mockCheckWorkspaceAccess, dbState } = vi.hoisted(() => ({
4
mockCheckWorkspaceAccess: vi.fn(),
Callers
nothing calls this directly
Calls
2
getCredentialActorContext
Function · 0.90
makeChain
Function · 0.70
Tested by
no test coverage detected