You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the test locally outputs the generated png images in `build/test_images/` and the png diffs in `build/test_images_diff/` (two git-ignored directories).
74
+
75
+
To view the image pixel comparison test results, run
76
+
77
+
```
78
+
npm run start-image_viewer
79
+
```
80
+
which shows the baseline image, the generated image, the diff and the json mocks of test cases that failed.
81
+
82
+
To view the results of a run on CircleCI, download the `build/test_images/` and `build/test_images_diff/` artifacts into your local repo and then run `npm run start-image_viewer`.
83
+
70
84
71
85
### Repo organization
72
86
87
+
- Distributed files are in `dist/`
88
+
- Sources files are in `src/`, including the index.
89
+
- Build and repo management scripts are in `./tasks/`
90
+
- All tasks can be run using [`npm run-srcript`](https://docs.npmjs.com/cli/run-script)
91
+
- Tests are `test/`, they are partitioned into `image` and `jasmine` tests
92
+
- Test dashboard and image viewer code is in `devtools/`
93
+
- Non-distributed, git-ignored built files are in `build/`
0 commit comments