Skip to content

Conversation

@josephsavona
Copy link
Member

@josephsavona josephsavona commented Nov 25, 2025

Fixes some issues i ran into w my recent snap changes:

  • Correctly match against patterns that contain subdirectories, eg fbt/fbt-call
  • When checking if the input pattern has an extension, only prune known supported extensions. Our convention of error.<name> for fixtures that error makes the rest of the test name look like an extension to path.extname().

Tested with lots of different patterns including error. examples at the top level and in nested directories, etc.

@meta-cla meta-cla bot added the CLA Signed label Nov 25, 2025
Fixes some issues i ran into w my recent snap changes:
* Correctly match against patterns that contain subdirectories, eg `fbt/fbt-call`
* When checking if the input pattern has an extension, only prune known supported extensions. Our convention of `error.<name>` for fixtures that error makes the rest of the test name look like an extension to `path.extname()`.

Tested with lots of different patterns including `error.` examples at the top level and in nested directories, etc.
@josephsavona
Copy link
Member Author

yarn test passes locally and this unbreaks snap filter mode, so i'm shipping

@josephsavona josephsavona merged commit 627b583 into main Nov 25, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants