Skip to main content
Glama

DollhouseMCP

by DollhouseMCP
jest.config.compiled.cjsโ€ข1.83 kB
/** @type {import('jest').Config} */ /** * Jest configuration for testing compiled JavaScript output * This is used as a diagnostic tool to determine if CI failures * are related to TypeScript/ESM module resolution issues */ const config = { testEnvironment: 'node', rootDir: '..', // Look for test files in the compiled output directory testMatch: [ '<rootDir>/dist/**/__tests__/**/*.test.js', '<rootDir>/dist/**/?(*.)+(spec|test).js' ], // No transformation needed - we're testing compiled JS transform: {}, // No module mapping needed - real JS files exist moduleNameMapper: {}, // Ignore node_modules and source directories // Also ignore tests that have known issues with mocking or hanging testPathIgnorePatterns: [ '/node_modules/', '<rootDir>/src/', '<rootDir>/__tests__/', // Ignore source test files, not compiled ones // These tests have issues that cause failures or hanging in CI: 'convertToGit\\.test\\.js$', 'UpdateManager\\.npm\\.test\\.js$', 'BackupManager\\.npm\\.test\\.js$', 'InstallationDetector\\.test\\.js$', '**/GitHubAuthManager\\.test\\.js', // Match anywhere in path 'CollectionCache\\.test\\.js$' // ESM mocking issues with fs/promises ], // Setup file - use the original .mjs since it's just setting env vars setupFilesAfterEnv: ['<rootDir>/test/jest.setup.mjs'], // Module paths to ignore modulePathIgnorePatterns: ['<rootDir>/src/'], // Test roots roots: ['<rootDir>/dist'], // Timeout testTimeout: 10000, // Coverage settings (if needed) collectCoverageFrom: [ 'dist/**/*.js', '!dist/**/*.d.ts', '!dist/**/*.test.js', '!dist/**/jest.setup.js' ], coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov', 'html'] }; module.exports = config;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DollhouseMCP/DollhouseMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server