Skip to content
Myr

Say how each kind of test reaches the test principal

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- Review of the branch: testing.ts's header said tests import it through @repo/protocol/testing, but protocol's own tests (test/mcp.ts, test/cli.test.ts) import ../src/testing.ts. The header now names both paths, so the relative-path gap in the test-only fence is visible to whoever writes it. - Not changed: no test observes the handle asPerson provides. Making asPerson ignore its handle leaves protocol 62 and cli 3 green. The issue fixes the test counts and names the existing suites as the proof, so the first test that reads CurrentPrincipal's handle is left to the change of Principal and the multi-person scenarios that follow. - No tests added; protocol 62, cli 3; verify passes.

authored by oscabriel · committed by oscabriel · parent 3c2a542 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:packages/protocol/src/testing.ts+3 added-2 removed