Skip to content

Commit

Permalink
Update pretty-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Sep 16, 2016
1 parent ec782b5 commit d5fd945
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,73 @@ Object {
"b": Object {
"0": Array [
0,
0
]
0,
],
},
"branchMap": Object {
"0": Object {
"loc": Object {
"end": Object {
"column": 3,
"line": 9
"line": 9,
},
"start": Object {
"column": 2,
"line": 5
}
"line": 5,
},
},
"locations": Array [
Object {
"end": Object {
"column": 3,
"line": 9
"line": 9,
},
"start": Object {
"column": 2,
"line": 5
}
"line": 5,
},
},
Object {
"end": Object {
"column": 3,
"line": 9
"line": 9,
},
"start": Object {
"column": 2,
"line": 5
}
}
"line": 5,
},
},
],
"type": "if"
}
"type": "if",
},
},
"f": Object {
"0": 0
"0": 0,
},
"fnMap": Object {
"0": Object {
"decl": Object {
"end": Object {
"column": 11,
"line": 4
"line": 4,
},
"start": Object {
"column": 10,
"line": 4
}
"line": 4,
},
},
"loc": Object {
"end": Object {
"column": 1,
"line": 10
"line": 10,
},
"start": Object {
"column": 20,
"line": 4
}
"line": 4,
},
},
"name": "(anonymous_0)"
}
"name": "(anonymous_0)",
},
},
"path": "/sum.js",
"s": Object {
Expand All @@ -78,69 +78,69 @@ Object {
"2": 0,
"3": 0,
"4": 0,
"5": 0
"5": 0,
},
"statementMap": Object {
"0": Object {
"end": Object {
"column": 45,
"line": 2
"line": 2,
},
"start": Object {
"column": 0,
"line": 2
}
"line": 2,
},
},
"1": Object {
"end": Object {
"column": 1,
"line": 10
"line": 10,
},
"start": Object {
"column": 10,
"line": 4
}
"line": 4,
},
},
"2": Object {
"end": Object {
"column": 3,
"line": 9
"line": 9,
},
"start": Object {
"column": 2,
"line": 5
}
"line": 5,
},
},
"3": Object {
"end": Object {
"column": 13,
"line": 6
"line": 6,
},
"start": Object {
"column": 4,
"line": 6
}
"line": 6,
},
},
"4": Object {
"end": Object {
"column": 13,
"line": 8
"line": 8,
},
"start": Object {
"column": 4,
"line": 8
}
"line": 8,
},
},
"5": Object {
"end": Object {
"column": 2,
"line": 14
"line": 14,
},
"start": Object {
"column": 0,
"line": 12
}
}
}
"line": 12,
},
},
},
}
`;
2 changes: 1 addition & 1 deletion packages/jest-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"chalk": "^1.1.3",
"diff": "^3.0.0",
"jest-matcher-utils": "^15.1.0",
"pretty-format": "^3.7.0"
"pretty-format": "~4.0.0"
},
"scripts": {
"test": "../../packages/jest-cli/bin/jest.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Difference:
- Object {}
+ Object {
[31m+[39m [31m \"circular\": [Circular][39m
[31m+[39m [31m \"circular\": [Circular],[39m
+ }"
`;
Expand Down Expand Up @@ -162,8 +162,8 @@ Difference:
+ Received
  Object {
[32m-[39m [32m \"a\": 5[39m
[31m+[39m [31m \"a\": 1[39m
[32m-[39m [32m \"a\": 5,[39m
[31m+[39m [31m \"a\": 1,[39m
  }"
`;
Expand Down Expand Up @@ -1650,8 +1650,8 @@ Difference:
+ Received
  Object {
[32m-[39m [32m \"b\": 6[39m
[31m+[39m [31m \"a\": 5[39m
[32m-[39m [32m \"b\": 6,[39m
[31m+[39m [31m \"a\": 5,[39m
  }"
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"jest-diff": "^15.1.0",
"jest-file-exists": "^15.0.0",
"jest-util": "^15.1.1",
"pretty-format": "^3.7.0"
"pretty-format": "~4.0.0"
},
"scripts": {
"test": "../jest-cli/bin/jest.js"
Expand Down

0 comments on commit d5fd945

Please sign in to comment.