Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hashrock/denocom-visual-test


https://github.com/hashrock/denocom-visual-test

Last synced: about 1 month ago
JSON representation

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)