# README
Snapshot checker
Run test tests from /test/
package, checks that JSON output from test is correct, show diff if not, and give an ability to update expected JSON.
Usage
- Run
go run ./internal/cmd/snapshot_checker
- Command will run all test in
/testdata
directory - It will search for a first failed snapshot test and print out difference between current and expected JSON.
- Press 'y + return' if expected JSON should be patched, or 'n + return' if no.