This repository is an example of how Function method .toString() serializes to different strings depending on whether jest is executed with coverage or not

Run this to ensure snapshot matches:

npm run test

Run this to run jest with coverage flag:

npm run test:coverage