Too Long; Didn't Read
Using Jest-Image-Snapshot (Jest matcher) in Typescript project, we have 3 Jest configurations: unit tests, e2e tests, and performance tests. We use the BPMN Visualization project (version 0.10.0) as an example. It is possible to use most of the actions that are done manually on a browser and take screenshots. We need to install the required packages as devependencies: Jest + its type definition: A JavaScript Testing Framework, developed by Facebook.