@metamask/snaps-jest

v8.0.0
A Jest preset for end-to-end testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers.

lint

yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies

test

jest --passWithNoTests && yarn posttest

build

tsup --clean && yarn build:types

clean

rimraf '*.tsbuildinfo' 'dist'

lint:ci

yarn lint

test:ci

yarn test

build:ci

tsup --clean

lint:fix

yarn lint:eslint --fix && yarn lint:misc --write

posttest

jest-it-up

lint:misc

prettier --no-error-on-unmatched-pattern --loglevel warn "**/*.json" "**/*.md" "**/*.html" "!CHANGELOG.md" --ignore-path ../../.gitignore

build:types

tsc --project tsconfig.build.json

lint:eslint

eslint . --cache --ext js,ts,jsx,tsx

lint:changelog

../../scripts/validate-changelog.sh @metamask/snaps-jest

publish:preview

yarn npm publish --tag preview

lint:dependencies

depcheck
npm i @metamask/[email protected]

Metadata

  • Unknown
  • ^18.16 || >=20
  • Unknown
  • released 5/3/2024

Downloads