MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / batch.test.ts

File batch.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, beforeEach } from 'vitest';
2import { submitBatch, extractText } from '../../src/utils/batch.js';
3import type { BatchItemResult } from '../../src/utils/batch.js';
4import type Anthropic from '@anthropic-ai/sdk';

Callers

nothing calls this directly

Calls 11

itFunction · 0.85
makeClientFunction · 0.85
submitBatchFunction · 0.85
makeSucceededEntryFunction · 0.85
asyncIterableOfFunction · 0.85
makeErroredEntryFunction · 0.85
makeExpiredEntryFunction · 0.85
makeCanceledEntryFunction · 0.85
makeRequestFunction · 0.70
extractTextFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected