diff --git a/packages/jest-matcher-utils/src/__tests__/__snapshots__/index-test.js.snap b/packages/jest-matcher-utils/src/__tests__/__snapshots__/index-test.js.snap index d424d8eaac8d..fd90b142d2b9 100644 --- a/packages/jest-matcher-utils/src/__tests__/__snapshots__/index-test.js.snap +++ b/packages/jest-matcher-utils/src/__tests__/__snapshots__/index-test.js.snap @@ -1,14 +1,14 @@ -exports[`.stringify() reduces maxDepth if stringifying very large objects 1`] = `"{\"a\": 1, \"b\": [Object]}"`; +exports[`.stringify() reduces maxDepth if stringifying very large objects 1`] = `"{"a": 1, "b": [Object]}"`; -exports[`.stringify() reduces maxDepth if stringifying very large objects 2`] = `"{\"a\": 1, \"b\": {\"0\": \"test\", \"1\": \"test\", \"2\": \"test\", \"3\": \"test\", \"4\": \"test\", \"5\": \"test\", \"6\": \"test\", \"7\": \"test\", \"8\": \"test\", \"9\": \"test\"}}"`; +exports[`.stringify() reduces maxDepth if stringifying very large objects 2`] = `"{"a": 1, "b": {"0": "test", "1": "test", "2": "test", "3": "test", "4": "test", "5": "test", "6": "test", "7": "test", "8": "test", "9": "test"}}"`; exports[`.stringify() toJSON errors when comparing two objects 1`] = ` "expect(received).toEqual(expected) Expected value to equal: - {\"b\": 1, \"toJSON\": [Function toJSON]} + {"b": 1, "toJSON": [Function toJSON]} Received: - {\"a\": 1, \"toJSON\": [Function toJSON]} + {"a": 1, "toJSON": [Function toJSON]} Difference: @@ -17,8 +17,8 @@ Difference: @@ -1,4 +1,4 @@  Object { -- \"b\": 1, -+ \"a\": 1, - \"toJSON\": [Function toJSON], +- "b": 1, ++ "a": 1, + "toJSON": [Function toJSON],  }" `; diff --git a/packages/jest-matchers/src/__tests__/__snapshots__/matchers-test.js.snap b/packages/jest-matchers/src/__tests__/__snapshots__/matchers-test.js.snap index bc03238c8e45..0f2260bc8cf4 100644 --- a/packages/jest-matchers/src/__tests__/__snapshots__/matchers-test.js.snap +++ b/packages/jest-matchers/src/__tests__/__snapshots__/matchers-test.js.snap @@ -1816,11 +1816,11 @@ Received: [Function anonymous]" `; -exports[`.toEqual() expect({"a": 1, "b": [Function b], "c": true}).not.toEqual({"a": 1, "b": {"expectedObject": [Function Function]}, "c": {}}) 1`] = ` +exports[`.toEqual() expect({"a": 1, "b": [Function b], "c": true}).not.toEqual({"a": 1, "b": , "c": }) 1`] = ` "expect(received).not.toEqual(expected) Expected value to not equal: - {\"a\": 1, \"b\": {\"expectedObject\": [Function Function]}, \"c\": {}} + {\"a\": 1, \"b\": , \"c\": } Received: {\"a\": 1, \"b\": [Function b], \"c\": true}" `;