generated from JoshuaKGoldberg/create-typescript-app
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
engine: stratumPertaining to the "Stratum" ("blocks") templating engine.Pertaining to the "Stratum" ("blocks") templating engine.status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏type: featureNew enhancement or requestNew enhancement or request
Description
Feature Request Checklist
- I have pulled the latest
mainbranch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
Suppose a Stratum Block's test has it produce a creation: Creation with addons. If the test runs something like Vitest snapshots / expect(creation).toMatchInlineSnapshot(), the addons will look something like:
"addons": [
{
"addons": {
...
},
"block": [Function],
},
That "block": [Function] is not very specific. It'd be good to mention the Block's about?.name in some way.
Additional Info
This is a little tricky because nothing in Bingo should be hardcoded to any one testing framework. A solution to this PR should work for Jest, Vitest, and theoretically any other test framework with snapshots.
💝
Metadata
Metadata
Assignees
Labels
engine: stratumPertaining to the "Stratum" ("blocks") templating engine.Pertaining to the "Stratum" ("blocks") templating engine.status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏type: featureNew enhancement or requestNew enhancement or request