reg-viz / reg-suit

:recycle: Visual Regression Testing tool

Home Page:https://reg-viz.github.io/reg-suit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] How to make the CI test "fail" ?

rborn opened this issue · comments

I manage to setup everything and it works great - thank you for building this 😻 - but I don't manage to get the result of the test and make the pipeline fail in a CI environment

Any idea?

Thank you

You can check if there're differences with the following shell script :)

test $(node -e "console.log(require('./.reg/out.json').diffItems.length)") -eq 0

@Quramy That did it, thanks a lot 😻