Package detail

@backtrack/jest-serializer-preset

chrisblossom10MIT0.2.0

jest snapshot serializer for backtrack presets

backtrack, jest, snapshot, serializer

readme

@backtrack/jest-serializer-preset

npm Linux Build Status Windows Build Status Code Coverage

About

Jest Snapshot Serializer for backtrack presets. Included with @backtrack/preset-preset.

Features

  • Removes file hashes from destination copy object

Installation

npm install --save-dev @backtrack/jest-serializer-preset

Usage

// jest.config.js

'use strict';

module.exports = {
    snapshotSerializers: ['@backtrack/jest-serializer-preset'],
};
// individual tests
const backtrackJestSerializerPreset = require('@backtrack/jest-serializer-preset');

expect.addSnapshotSerializer(backtrackJestSerializerPreset);

changelog

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

[0.1.4] - 2018-12-10

Fixed

  • Handle null files