Skip to content

docs: move toHaveSelection from the deprecated section#717

Open
silviuaavram wants to merge 3 commits intotesting-library:mainfrom
silviuaavram:docs/fix-has-selection-section
Open

docs: move toHaveSelection from the deprecated section#717
silviuaavram wants to merge 3 commits intotesting-library:mainfrom
silviuaavram:docs/fix-has-selection-section

Conversation

@silviuaavram
Copy link
Contributor

@silviuaavram silviuaavram commented Jan 27, 2026

What:

Addresses this comment: #637 (comment)

Moved toHaveSelection documentation in the README from the deprecated section.

Why:
It's not deprecated.

How:
Move the documentation from deprecated, also update TOC.

Checklist:

  • Documentation
  • Tests
  • Updated Type Definitions
  • Ready to be merged

Copilot AI review requested due to automatic review settings January 27, 2026 15:08
Copy link

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 moves the toHaveSelection matcher documentation from the deprecated matchers section to the main custom matchers section in the README, correctly reflecting that this matcher is not deprecated.

Changes:

  • Moved toHaveSelection documentation from the deprecated section to the main custom matchers section
  • Updated the table of contents to reflect the new location
  • Added "#### Examples" heading to match the formatting style of other matchers in the main section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

silviuaavram and others added 2 commits January 27, 2026 19:49
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@silviuaavram
Copy link
Contributor Author

Hey @gnapse could you help me merge this please? The documentation was initially added to the deprecated section. Thanks!

@silviuaavram
Copy link
Contributor Author

silviuaavram commented Feb 6, 2026

Hey @gnapse slight bump here. Thanks!

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