-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)
Description
Clear and concise description of the problem
We are testing media assets, by matching their md5 basically. So we have a suit, that basically calls the same render function but in different contexts (projects, parameters). Basically, the output must be validated before confirming, that this md5 should be a snapshot.
Jest has an interactive mode, but async describe is not a thing anymore, so we tried to switch to Vitest.
Suggested solution
- Maybe do not create snapshots by default (I know, that env CI=1 solves it)
- Have interactive update/create mode, that does 1 test at a time and asks to validate output
Alternative
I could implement it myself but have no way to interrupt runner and it just times out. Also, libraries such as enquirer do not work during the run.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
narthur, Ross-Esmond and gabrielmfern
Metadata
Metadata
Assignees
Labels
p2-nice-to-haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)