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.
suppress unicorn/prefer-structured-clone warning.

logger is always passed; just make it required.
suppress `unicorn/prefer-structured-clone` warning.
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

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