Skip to content

test(realtime): update RealtimeChannel.memory.test.ts test assertion#2035

Merged
mandarini merged 1 commit into
supabase:masterfrom
snickerdoodle2:snickerdoodle2/fix-memory-test
Jan 20, 2026
Merged

test(realtime): update RealtimeChannel.memory.test.ts test assertion#2035
mandarini merged 1 commit into
supabase:masterfrom
snickerdoodle2:snickerdoodle2/fix-memory-test

Conversation

@snickerdoodle2

Copy link
Copy Markdown
Contributor

🔍 Description

This PR updates assertion logic in RealtimeChannel.memory.test.ts, making it check binding cleanup logic.

Why was this change needed?

Removing channel.teardown() would not change the test outcome (as pushBuffer is not touched there). Now, removing teardown makes the test fail.

🔄 Breaking changes

  • This PR contains no breaking changes

📋 Checklist

  • I have read the Contributing Guidelines
  • My PR title follows the conventional commit format: <type>(<scope>): <description>
  • I have run npx nx format to ensure consistent code formatting
  • I have added tests for new functionality (if applicable)
  • I have updated documentation (if applicable)

@snickerdoodle2 snickerdoodle2 requested review from a team as code owners January 20, 2026 09:19
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 80.997%. remained the same
when pulling 610205f on snickerdoodle2:snickerdoodle2/fix-memory-test
into 09aa106 on supabase:master.

@mandarini mandarini merged commit 054eeef into supabase:master Jan 20, 2026
25 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.

3 participants