Skip to content

Fix typos in source code and comments - #3465

Open
maxtaran2010 wants to merge 1 commit into
avajs:mainfrom
maxtaran2010:fix/typos-in-source-and-comments
Open

Fix typos in source code and comments#3465
maxtaran2010 wants to merge 1 commit into
avajs:mainfrom
maxtaran2010:fix/typos-in-source-and-comments

Conversation

@maxtaran2010

Copy link
Copy Markdown

Fix three typos found via codespell:

  • lib/assert.js line 665: asssertionassertion (triple 's'). This is a real bug: the AssertionError constructor destructures assertion from its options object, but the wrong key was passed here, meaning the .assertion property would be undefined on snapshot comparison errors.
  • test/watch-mode/helpers/watch.js line 130: isuesissues in a comment.
  • test-tap/helper/report.js line 114: MimickMimic in a comment.

- Fix `asssertion` → `assertion` in lib/assert.js (triple 's' meant
  the AssertionError constructor received the wrong property key,
  leaving `.assertion` undefined on snapshot comparison errors)
- Fix `isues` → `issues` in test/watch-mode/helpers/watch.js comment
- Fix `Mimick` → `Mimic` in test-tap/helper/report.js comment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 8, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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