Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (visual-regression-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Visual Regression Test
Please check Documentation for the instructions.
Use
Install:
npm i @eshn/visual-regression-tests
Set up all test and config files in the visual_tests folder and place it at the root of the project.
Add to scripts in package.json:
"ref": "eshn-visual ref", "approve": "eshn-visual approve", "test": "eshn-visual test"
Use new command aliases:
Command Alias 1 Alias 2 Description npm run ref -- --test-suite alloy r alloy ref alloy npm run approve -- --test-suite alloy a alloy approve alloy npm run ref -- --test-suite alloy t alloy test alloy npm run ref -- --test-suite sign-in --requiredLogin t alloy test alloy Run with login mode