-
Notifications
You must be signed in to change notification settings - Fork 64
Writing tests
Ian Leggett edited this page Jan 9, 2018
·
7 revisions
Once you’ve made your changes, run the JavaScript tests to make sure they pass,
run: npm test
If there aren’t any existing tests that cover your changes by writing new tests
To get a base reference for your visual regression tests please save any work on your development branch, checkout your master branch and capture the baseline component screenshots via:
run: npm run vrt:baseline
To compare your changes please checkout the branch with your changes on then run the comparison tests.
run: npm run vrt:compare
Your results will be output to vrt-output/report