Natively Pronounced Mandarin
    Have ideas to improve npm?Join in the discussion! »

    jest-serializer-xml

    0.1.31 • 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

    194

    Version

    0.1.31

    License

    MIT

    Unpacked Size

    5.47 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar