MCPcopy Index your code
hub / github.com/simstudioai/sim / encode

Function encode

apps/sim/lib/core/config/appconfig.test.ts:26–26  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

24import { fetchAppConfigProfile } from '@/lib/core/config/appconfig'
25
26const encode = (value: unknown) => new TextEncoder().encode(JSON.stringify(value))
27
28let counter = 0
29/** Unique identifiers per test so the module-level cache never bleeds across tests. */

Callers 1

appconfig.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected