Skip to main content
Glama

DollhouseMCP

by DollhouseMCP
COMPACT_CONTEXT_REFERENCE.mdโ€ข2.9 kB
# Compact Context Reference - July 5, 2025 ## Current State Summary ### What Just Happened 1. **Fixed GitHubClient.test.ts** (PR #56) - Added type assertions for TypeScript errors - Implemented full ESM Jest configuration - Tests now pass (19/19) โœ… 2. **Key Configuration That Works** ```javascript // jest.config.cjs preset: 'ts-jest/presets/default-esm' globals: { 'ts-jest': { useESM: true } } transformIgnorePatterns: ['node_modules/(?!(@modelcontextprotocol|zod)/)'] ``` ```json // package.json "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest" ``` ### Current Branch - Branch: `fix/githubclient-test-typescript` - PR: #56 (ready to merge) - Status: GitHubClient fixed, some other tests failing ## Critical Information to Preserve ### 1. Working Solutions - **ESM Fix**: Found in `/MCP-Servers/Notes/jest-esm-typescript-solution.md` - **Type Assertions**: `(jest.fn() as any).mockResolvedValue(data)` - **Both** `@modelcontextprotocol` and `zod` must be in transformIgnorePatterns ### 2. Failing Tests (Need ESM Updates) - auto-update.test.ts - integration.test.ts - performance.test.ts ### 3. High Priority Next Steps 1. Merge PR #56 2. Fix remaining test failures (ESM updates needed) 3. Implement MCP protocol integration tests (#29) 4. Fix ARM64 Docker issue (#28) ### 4. Project Status Overview - **Integration Tests**: 11/11 passing in isolation โœ… - **Docker Tests**: 67% passing (ARM64 failing) - **GitHub Issues**: #28-#34 created and prioritized - **CI/CD**: Partially working (GitHubClient fixed, others need work) ## Key File Locations ### Documentation - `/docs/development/NEXT_STEPS_POST_PR56.md` - Detailed next actions - `/docs/development/GITHUBCLIENT_FIX_SUCCESS.md` - How we fixed it - `/docs/development/OUTSTANDING_ISSUES_2025_07_05.md` - All pending work ### Test Files Needing Updates - `__tests__/auto-update.test.ts` - `__tests__/integration.test.ts` - `__tests__/performance.test.ts` ### Configuration Files (Already Updated) - `jest.config.cjs` - ESM configuration โœ… - `package.json` - NODE_OPTIONS added โœ… - `tsconfig.json` - ts-node ESM enabled โœ… ## Quick Commands ```bash # Run tests with ESM npm test # Run specific test npm test -- __tests__/unit/GitHubClient.test.ts # Check CI status gh run list --workflow="Core Build & Test" --limit 5 # View PR gh pr view 56 ``` ## Context for Next Session **You were working on**: Fixing GitHubClient.test.ts TypeScript/Jest issues **You succeeded by**: Implementing full ESM Jest configuration **Next priority**: Fix remaining test failures then implement MCP integration tests **Key insight**: The solution was in `/MCP-Servers/Notes/` folder ## One-Line Summary Successfully fixed GitHubClient tests with ESM configuration from Notes folder; PR #56 ready to merge; need to fix 3 remaining test files for full CI/CD green.

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