Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ encryption.test.ts
File
encryption.test.ts
apps/sim/lib/core/security/encryption.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createEnvMock } from
'@sim/testing'
2
import
{ afterEach, describe, expect, it, vi } from
'vitest'
3
4
vi.mock(
'@/lib/core/config/env'
, () =>
Callers
nothing calls this directly
Calls
6
createEnvMock
Function · 0.90
encryptSecret
Function · 0.90
decryptSecret
Function · 0.90
generatePassword
Function · 0.90
join
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected