Skip to content

Improve useFilteredTestCases - #559

Merged
davidjgoss merged 1 commit into
mainfrom
usefilteredtestcases-filtered
Aug 18, 2026
Merged

Improve useFilteredTestCases#559
davidjgoss merged 1 commit into
mainfrom
usefilteredtestcases-filtered

Conversation

@davidjgoss

Copy link
Copy Markdown
Member

🤔 What's changed?

  • useFilteredTestCases now returns an object that includes a filtered flag
  • The results prop can also be undefined to indicate an async search hasn't finished

⚡️ What's your motivation?

Fixes#558

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)
  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@davidjgoss
davidjgoss marked this pull request as ready for review August 18, 2026 21:01
@davidjgoss
davidjgoss merged commit 2110fa0 into mainAug 18, 2026
4 checks passed
@davidjgoss
davidjgoss deleted the usefilteredtestcases-filtered branch August 18, 2026 21:01
Sign up for freeto 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.

useFilteredTestCases should expose a filtered flag for consistent empty-state messaging

1 participant

@davidjgoss