Skip to content

test: cover presence behavior#24

Open
Kkkakania wants to merge 1 commit into
Aaromalpm:mainfrom
Kkkakania:test/presence-coverage
Open

test: cover presence behavior#24
Kkkakania wants to merge 1 commit into
Aaromalpm:mainfrom
Kkkakania:test/presence-coverage

Conversation

@Kkkakania

Copy link
Copy Markdown

What does this PR do?

Adds coverage for the presence system in the existing Node test suite.

Related issue

Closes #17

Type of change

  • Bug fix
  • New feature
  • Tests
  • Documentation

Checklist

  • npm test passes with no failures
  • New feature includes tests
  • No new dependencies added (unless discussed in the issue)
  • TypeScript types updated in src/index.d.ts if new functions were added

Notes

The new tests cover first-socket online events, second-tab behavior, away status
updates, validation errors, unknown-user snapshots, room presence snapshots, and
offline emission only after the last socket disconnects.

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.

test: add tests for presence system

1 participant