MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / threads-api.test.ts

File threads-api.test.ts

server/tests/integration/threads-api.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeAll, afterAll, beforeEach, vi } from 'vitest';
2import { HTTPServer } from '../../src/http.js';
3import request from 'supertest';
4import { getPool, initializeDatabase, closeDatabase } from '../../src/db/client.js';

Callers

nothing calls this directly

Calls 8

initializeDatabaseFunction · 0.85
runMigrationsFunction · 0.85
closeDatabaseFunction · 0.85
itFunction · 0.85
queryMethod · 0.80
startMethod · 0.45
stopMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected