JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q40240F
  • License ISC

eshn visual regression tests support

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (visual-regression-test) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Visual Regression Test

    Please check Documentation for the instructions.

    Use

    1. Install:

      npm i @eshn/visual-regression-tests
    2. Set up all test and config files in the visual_tests folder and place it at the root of the project.

    3. Add to scripts in package.json:

       "ref": "eshn-visual ref",
       "approve": "eshn-visual approve",
       "test": "eshn-visual test"
    4. Use new command aliases:

      Command Alias 1 Alias 2 Description
      npm run ref -- --test-suite alloy r alloy ref alloy
      npm run approve -- --test-suite alloy a alloy approve alloy
      npm run ref -- --test-suite alloy t alloy test alloy
      npm run ref -- --test-suite sign-in --requiredLogin t alloy test alloy Run with login mode