Skip to content

Decouple registry contract tests from broad runtime mocks - #271

Merged
artiphishle merged 17 commits into
mainfrom
agent/registry-test-import-boundary
Jul 21, 2026
Merged

Decouple registry contract tests from broad runtime mocks#271
artiphishle merged 17 commits into
mainfrom
agent/registry-test-import-boundary

Conversation

@artiphishle

Copy link
Copy Markdown
Contributor

Summary

  • isolates ZORA_COMPONENT_REGISTRY materialization in a dedicated Bun test subprocess
  • removes broad top-level runtime/platform mocks from src/registry.test.ts
  • derives mocked react-native and @ankhorage/surface named exports from ZORA's actual runtime imports instead of maintaining a manual component export list
  • preserves validation of the actual canonical ZORA_COMPONENT_REGISTRY object
  • preserves the independent public-component export completeness check
  • keeps provider-only exports excluded and directManifestNode semantics separate

This is test-architecture cleanup only; no public API or runtime behavior changes.

Closes #270

@artiphishle artiphishle self-assigned this Jul 21, 2026
@artiphishle
artiphishle marked this pull request as ready for review July 21, 2026 12:22
@artiphishle
artiphishle merged commit 70c13e3 into main Jul 21, 2026
2 checks passed
@artiphishle
artiphishle deleted the agent/registry-test-import-boundary branch July 21, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple component registry contract tests from broad runtime module mocks

1 participant