Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashrock/denocom-visual-test
https://github.com/hashrock/denocom-visual-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hashrock/denocom-visual-test
- Owner: hashrock
- Created: 2023-06-27T14:30:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-27T14:47:29.000Z (over 1 year ago)
- Last Synced: 2024-11-06T15:17:00.474Z (3 months ago)
- Language: TypeScript
- Size: 586 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
tried to write visual regression test with deno
# take screenshot
checkout feature main and execute:
```sh
deno run -A screenshot.ts http://localhost:8000/ old
```then checkout the feature branch and execute:
```sh
deno run -A screenshot.ts http://localhost:8000/ new
```and compare by:
```sh
deno run -A pixelmatch.ts old new
```then you got:
![Alt text](image.png)