UNPKG

dbx-mcp-server

Version:

A Model Context Protocol server for Dropbox integration with AI-powered PDF analysis, multi-directory indexing, and parallel processing

32 lines 837 B
// Import our mocks directly import * as mockDbxApi from '../mocks/dbx-api.js'; // Helper function to get the mocked API export function getMockedApi() { return mockDbxApi; } // Helper function to create a mock content response export function createMockContent(text, encoding = 'utf-8') { return { content: [{ text, encoding }] }; } // Helper function to create a mock metadata response export function createMockMetadata(data) { return { content: [{ text: JSON.stringify(data) }] }; } // Helper function to create a mock files list response export function createMockFilesList(files) { return { content: [{ text: JSON.stringify(files) }] }; } //# sourceMappingURL=test-helpers.js.map