@relmify/jest-serializer-strip-ansi

v1.0.2
jest snapshot serializer for removing ANSI text formatting escape codes
jest snapshot serializer ansi matchers

build

tsc

watch

tsc -watch

clean

rimraf dist

clean:jest

jest --clear-cache --bail 0

lint:check

eslint ./src --ext .ts

lint:fix

eslint --fix ./src --ext .ts

prettier:check

prettier --check "src/**/*.ts"

prettier:fix

prettier --write "src/**/*.ts"

test

jest

test:watch

jest --watch

prepare

npm run clean && npm run lint:check && npm run prettier:check && npm test && npm run build
npm i @relmify/jest-serializer-strip-ansi

Metadata

  • MIT
  • Whatever
  • Leila Pearson
  • released 5/6/2022

Downloads

Maintainers