A reg-suit plugin to detect the snapshot key to be compare with using Git commit hash.
npm i reg-keygen-git-hash-plugin -D
Detection expected commit
This plugin detects automatically the parent's commit which is the source of the topic branch. And use the snapshot result of the detected commit as the expected result of regression testing.
And if your topic branch has the merge commit from the parent(i.e.
master) branch, this plugin uses this merge commit hash as the expected snapshot key.