Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

reg-keygen-git-hash-plugin

reg-viz224.1kMIT0.14.3TypeScript support: included

Detect the snapshot key to be compare with using Git hash.

reg, reg-suit-plugin

readme

reg-keygen-git-hash-plugin

A reg-suit plugin to detect the snapshot key to be compare with using Git commit hash.

Install

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.