Snapshot Testing
https://zenn.dev/adwd/articles/72f8d4734264e5
https://ja.reactjs.org/docs/testing-recipes.html#snapshot-testing
https://kentcdodds.com/blog/effective-snapshot-testing
https://zenn.dev/loglass/articles/595a91af94ff27
@antfu/ni
にPR送るときにVitestのやつに触れた
mrsekut.icon
Snapshot Testing
ってUIのテストのために使う、という固定観念があった
確かに
Snapshot Testing
を使えばassertionを書くことを短縮できるのか
mrsekut.icon
「以前の結果と変わっていないことを確認する」というのが第一目的か