Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

jest-serializer-xml

0.1.4 • Public • Published

jest-serializer-xml

Serializer for Jest to better visualize XML Documents in Snapshots.

Installation

npm install --save-dev jest-serializer-xml

Usage

Configure Jest to use the serializer in jest.config.js:

module.exports = {
  snapshotSerializers: ["jest-serializer-xml"]
};

or package.json:

{
  "jest": {
    "snapshotSerializers": ["jest-serializer-react-helmet"]
  }
}

Keywords

none

Install

npm i jest-serializer-xml

DownloadsWeekly Downloads

72

Version

0.1.4

License

MIT

Unpacked Size

5.14 kB

Total Files

8

Last publish

Collaborators

  • avatar