Unverified Commit add825af authored by Hong Minhee's avatar Hong Minhee
Browse files

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: default avatarClaude <noreply@anthropic.com>
parent 3fc1fe83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment