Skip to content

Conversation

@jason-ha
Copy link
Contributor

@jason-ha jason-ha commented Jan 5, 2026

logger is always passed; just make it required.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves type safety and code clarity in test utilities by making the logger parameter required and suppressing a lint warning where appropriate.

  • Makes logger parameter required in prepareConnectedPresence and assertFinalExpectations functions
  • Adds eslint suppression with explanation for intentional use of JSON.parse(JSON.stringify()) pattern
  • Updates JSDoc comments to reflect the required logger parameter

logger is always passed; just make it required.
suppress `unicorn/prefer-structured-clone` warning.
@jason-ha jason-ha force-pushed the test/presence/minor-cleanup branch from 96a7417 to c56cb3e Compare January 16, 2026 19:11
@jason-ha jason-ha changed the title test(client-presence): minor typing and lint cleanup test(client-presence): minor typing Jan 16, 2026
@jason-ha jason-ha merged commit d025812 into microsoft:main Jan 16, 2026
32 checks passed
@jason-ha jason-ha deleted the test/presence/minor-cleanup branch January 16, 2026 20:21
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.

2 participants