Home

Awesome

Jest-Allure-Image-Snapshot

Plugin for image comparison use jest-image-snapshots and beateaful allure reports using jest-allure

Installation

yarn add -D jest-allure-image-snapshot

or

npm install --save-dev jest-allure-image-snapshot

You also should configure setupTestFrameworkScriptFile if you don't have yet your own it will look so:

const registerAllureReporter = require("jest-allure/dist/setup").registerAllureReporter;
const registerAllureImageSnapshot = require("jest-allure-image-snapshot");
registerAllureReporter();
registerAllureImageSnapshot();