cypress-visual-regression

v5.1.0
Module for adding visual regression testing to Cypress
visual regression image diff cypress

lint

eslint src --ext .ts

test

vitest run --globals

build

tsup src/plugin.ts src/command.ts src/utils/image.ts src/utils/logger.ts --format esm,cjs --dts

lint:fix

eslint src --ext .ts --fix

prebuild

rimraf dist && npm run lint:fix && npm run format:fix && npm run test

typecheck

tsc --noEmit --project tsconfig.json

format:fix

prettier --write ./

preversion

npm run lint && npm run format:check && npm run test && npm run build

format:check

prettier --check ./

prepublishOnly

npm run build

Metadata

  • MIT
  • >=18
  • Michael Herman
  • released 8/20/2024

Downloads

Maintainers