Skip to content

Commit a0ec7fe

Browse files
committed
improve contributing readme on how to validate mocks
1 parent 569910d commit a0ec7fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/image/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ npm run pretest
6565
**IMPORTANT:** the image tests scripts do **not** bundle the source files before
6666
running the image tests. We recommend running `npm run watch` or `npm start` in
6767
a separate tab to ensure that the most up-to-date code is used.
68+
Also if you are adding a new mock, you may need to re-run `npm start` or `npm run watch`
69+
to be able to find the new mock in the browser.
70+
To help ensure valid attributes are used in your new mock(s), please run `npm run test-mock`
71+
after adding new mocks or implementing any new attributes.
6872

6973
##### A: Run image comparison tests
7074

0 commit comments

Comments
 (0)