Fix JSR publishing hang for @fedify/testing package
The @fedify/testing package was experiencing indefinite hangs during JSR's type analysis phase. Through systematic testing, we identified that the issue was caused by exporting context creation functions directly from context.ts. Solution: - Move createContext, createRequestContext, and createInboxContext to internal-only exports in context.ts - Re-export these functions only through mock.ts - Remove duplicate implementations from mock.ts - Keep TestInboxContext type alias for InboxContext return type This reduces the number of public exports that JSR's type analyzer needs to process, successfully resolving the hang issue. Fixes https://github.com/fedify-dev/fedify/issues/468 Co-Authored-By:Claude <noreply@anthropic.com>
Loading
Please register or sign in to comment