Skip to content

test(pubsub): cleanup subscribe-races teardown with afterEach#616

Merged
marcus-pousette merged 1 commit intomasterfrom
codex/pubsub-subscribe-races-teardown-cleanup
Mar 1, 2026
Merged

test(pubsub): cleanup subscribe-races teardown with afterEach#616
marcus-pousette merged 1 commit intomasterfrom
codex/pubsub-subscribe-races-teardown-cleanup

Conversation

@marcus-pousette
Copy link
Member

Summary

Follow-up cleanup after #609.

Refactors subscribe-races.spec.ts teardown to use a single afterEach session cleanup instead of per-test try/finally blocks.

Changes

  • Add shared session fixture in describe scope.
  • Add afterEach that stops and resets the session.
  • Remove duplicated try/finally teardown blocks from individual tests.

No behavior/assertion changes intended.

Validation

  • pnpm -C packages/transport/pubsub test
    • Result: 54 passing

@marcus-pousette marcus-pousette merged commit 484315e into master Mar 1, 2026
17 of 18 checks passed
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.

1 participant