Test Runner
: custom parser for snapshot
#57830
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
What is the problem this feature will solve?
Currently, snapshots have a special format and appear to be cjs modules
It is very convenient for snapshot parsing, but it is not suitable for human reading. It does not highlight.
I would like to have a way to customize the snapshot, since I prefer
.snapshot.md
to.snapshot
format.What is the feature you are proposing to solve the problem?
Add a custom parse to custom snapshot's format.
Definition:
Usage:
In this example, we use custom markdown as a snapshot
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: