jest-snapshot-serializer-ansi
jest snapshot serializer for stripping ANSI escape codes
Last updated 2 years ago by ikatyang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install jest-snapshot-serializer-ansi 
SYNC missed versions from official npm registry.

jest-snapshot-serializer-ansi

npm build

jest snapshot serializer for stripping ANSI escape codes

Changelog

Install

npm install jest-snapshot-serializer-ansi

Note: This package is now pure ESM, you may want to install jest-snapshot-serializer-ansi@1 if you'd like to use it in CJS environment

Usage

In setup file or test file:

import serializerAnsi from 'jest-snapshot-serializer-ansi'
expect.addSnapshotSerializer(serializerAnsi)

Development

# lint
pnpm run lint

# build
pnpm run build

# test
pnpm run test

License

MIT © Ika

Current Tags

  • 2.2.1                                ...           latest (2 years ago)

6 Versions

  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (2)
Downloads
Total 12
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (6)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE