Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adcontextprotocol/adcp
/ perspective-assets.test.ts
File
perspective-assets.test.ts
server/tests/integration/perspective-assets.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect, beforeAll, afterAll, vi } from
'vitest'
;
2
3
// Mock WorkOS client before any imports that depend on it
4
vi.mock(
'../../src/auth/workos-client.js'
, () => ({
Callers
nothing calls this directly
Calls
15
initializeDatabase
Function · 0.85
runMigrations
Function · 0.85
closeDatabase
Function · 0.85
it
Function · 0.85
createTestPng
Function · 0.85
createTestPdf
Function · 0.85
getAssetsByPerspective
Function · 0.85
getAssetData
Function · 0.85
getAssetByType
Function · 0.85
deleteAsset
Function · 0.85
query
Method · 0.80
setTestUser
Function · 0.70
Tested by
no test coverage detected