Gemini events
-
updateResult
- emitted always during update. The event is emitted with 1 argumentresult
:result.imagePath
- absolute path to the reference imageresult.updated
- boolean value which istrue
when reference image have been changed andfalse
when not
-
testResult
- emitted always after the test is completed. The event is emitted with 1 argumentresult
:result.referencePath
- absolute path to the reference imageresult.currentPath
- absolute path to the current image on your diskresult.equal
- boolean value which istrue
when images are equal andfalse
when aren'tresult.saveDiffTo
- function is responsible for building diff and present in theresult
only if images aren't equal