MCPcopy Index your code
hub / github.com/simstudioai/sim / csp.test.ts

File csp.test.ts

apps/sim/lib/core/security/csp.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createEnvMock, envFlagsMock } from '@sim/testing'
2import { afterEach, describe, expect, it, vi } from 'vitest'
3
4vi.mock('@/lib/core/config/env', () =>

Callers

nothing calls this directly

Calls 8

createEnvMockFunction · 0.90
buildCSPStringFunction · 0.90
getMainCSPPolicyFunction · 0.90
generateRuntimeCSPFunction · 0.90
addCSPSourceFunction · 0.90
removeCSPSourceFunction · 0.90
getChatEmbedCSPPolicyFunction · 0.90

Tested by

no test coverage detected