← back to Particle Text
test/README.md
13 lines
# Starling — GIF export verification
`gif.spec.js` is a headless Playwright suite (12 checks): GIF + Code buttons, code copies
to clipboard, the GIF downloads, is valid GIF89a of the right dimensions, is animated,
loops, and **round-trips through Chromium's own decoder to real (non-blank/non-noise)
pixels** — proving the from-scratch GIF89a + LZW encoder is correct.
Run (serve the folder same-origin so the gif loads without taint):
```bash
python3 -m http.server 4180 --bind 127.0.0.1 &
SAVEDIR=$(pwd)/.. NODE_PATH=~/Projects/animals/node_modules BASE=http://127.0.0.1:4180 node gif.spec.js
```