Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
derekjuber committed Nov 7, 2017
1 parent 2d02665 commit dd0b1bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/snapshotter.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var maybeUpdateSnapshot = function maybeUpdateSnapshot(snapshotPath, relativeSna
module.exports = function (assert, component, id) {
var outputBuffer = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _process2.default.stdout;

var serialisedComponent = JSON.parse(stringify((0, _enzymeToJson.shallowToJson)(component)));
var serialisedComponent = JSON.parse(stringify((0, _enzymeToJson.shallowToJson)(component, { noKey: true })));

var _getSnapshotPath = (0, _getSnapshotPath3.default)(id),
snapshotPath = _getSnapshotPath.snapshotPath,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snapshotter",
"version": "2.0.0",
"version": "2.0.1",
"description": "Snapshot testing for Tape",
"main": "dist/snapshotter.js",
"scripts": {
Expand Down

0 comments on commit dd0b1bb

Please sign in to comment.