jest-allure-image-snapshot
v0.0.10
Published
Plugin for image comparison use [jest-image-snapshots](https://github.com/americanexpress/jest-image-snapshot/blob/master/examples/image-reporter.js) and beateaful allure reports using [jest-allure](https://github.com/zaqqaz/jest-allure-image-snapshot)
Downloads
287
Readme
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();