🥽 Snapshot Testing 🥽
I found a great article that discusses the features of snapshot testing using Jest:
https://samhogy.co.uk/2022/03/making-the-most-of-snapshot-testing
Snapshot is a very convenient testing technique that allows you to, for example, retrieve an entire entity, create a snapshot from it, look at it, and if everything is correct, leave it as is, and if not, fix the snapshot, fix the code, and make sure that now everything works correctly
#nodejs #typescript #testing