localvoid / chai-karma-snapshot

Chai Plugin for Snapshot Testing with Karma
MIT License
4 stars 8 forks source link

Option to don't create snapshots on CI #10

Open dimadk24 opened 2 years ago

dimadk24 commented 2 years ago

I don't see an option to don't create snapshots on CI. Like jets's ci CLI option. Without this option, this issue is possible: a person renamed some parent describe block. From snapshots' perspective, old tests were removed and new ones were added. And if you don't even run these tests, old snapshots will be ignored and new ones will always be created during CI build. Therefore the tests will always be green

If there's no such option, would you be willing to accept a PR adding it?