snapshot-assertion

v5.0.0
Asserts a string matches a snapshot saved in a file. An environment variable can be used to save rather than assert snapshots.
snapshot assert assertion test testing esm mjs

eslint

eslint .

prettier

prettier -c .

types

tsc -p jsconfig.json

tests

coverage-node test.mjs

test

npm run eslint && npm run prettier && npm run types && npm run tests

prepublishOnly

npm test
npm i snapshot-assertion

Metadata

  • MIT
  • ^14.17.0 || ^16.0.0 || >= 18.0.0
  • Jayden Seric
  • released 8/18/2022

Downloads

Maintainers