diff --git a/public/resources/gallery/gallery.html b/public/resources/gallery/gallery.html index 05ac21c..216a956 100644 --- a/public/resources/gallery/gallery.html +++ b/public/resources/gallery/gallery.html @@ -19,6 +19,7 @@ img, canvas {
A fast way to visually check for regressions. Each row shows: a test picture, the expected output, then the difference with pixelmatch.
Put zurich_switzerland.mbtiles in public/resources/gallery/ then run with:
docker build . && docker run --rm -it -p 8080:8080 $(docker build -q .) -V --config /usr/src/app/public/resources/gallery/config.json
+
This page is then served at http://0.0.0.0:8080/gallery/gallery.html

Interactive vector

@@ -93,7 +94,7 @@ function loaded() { console.log('Loading done.'); let success = true; - for (const [id, url] of tests) { + for (const [id] of tests) { const numDiffPixels = compare('a_' + id, 'b_' + id, 'c_' + id); if (numDiffPixels > 0) { success = false;