MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / creative-agent.test.ts

File creative-agent.test.ts

server/tests/unit/creative-agent.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
2import { buildFormats } from '../../src/shared/formats.js';
3import { handleListCreativeFormats, handlePreviewCreative, buildReferenceFormats, createCreativeAgentServer } from '../../src/creative-agent/task-handlers.js';
4import { renderPreview } from '../../src/creative-agent/preview-renderer.js';

Callers

nothing calls this directly

Calls 12

renderPreviewFunction · 0.90
itFunction · 0.85
buildFormatsFunction · 0.85
buildReferenceFormatsFunction · 0.85
getPreviewFunction · 0.85
findFormatFunction · 0.85
storePreviewFunction · 0.85
cleanExpiredPreviewsFunction · 0.85
nowMethod · 0.80
handlePreviewCreativeFunction · 0.50

Tested by

no test coverage detected