Skip to content

Commit

Permalink
Update snapshots following merge of better sparse print
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Apr 22, 2021
1 parent 204f779 commit 12c9dbb
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,21 @@ Expected: <g>/abc/g</>
Received: <r>/abc/gsy</>
`;

exports[`.toEqual() {pass: false} expect([, , 1, ]).toEqual([, , 2, ]) 1`] = `
<d>expect(</><r>received</><d>).</>toEqual<d>(</><g>expected</><d>) // deep equality</>

<g>- Expected - 1</>
<r>+ Received + 1</>

<d> Array [</>
<d> undefined,</>
<d> undefined,</>
<g>- 2,</>
<r>+ 1,</>
<d> undefined,</>
<d> ]</>
`;

exports[`.toEqual() {pass: false} expect([]).toEqual([]) 1`] = `
<d>expect(</><r>received</><d>).</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expand Down Expand Up @@ -2150,21 +2165,6 @@ exports[`.toEqual() {pass: false} expect([97, 98, 99]).toEqual([97, 98, 100]) 1`
<d> ]</>
`;

exports[`.toEqual() {pass: false} expect([undefined, undefined, 1, undefined]).toEqual([undefined, undefined, 2, undefined]) 1`] = `
<d>expect(</><r>received</><d>).</>toEqual<d>(</><g>expected</><d>) // deep equality</>

<g>- Expected - 1</>
<r>+ Received + 1</>

<d> Array [</>
<d> undefined,</>
<d> undefined,</>
<g>- 2,</>
<r>+ 1,</>
<d> undefined,</>
<d> ]</>
`;

exports[`.toEqual() {pass: false} expect({"0": "a", "1": "b", "2": "c"}).toEqual("abc") 1`] = `
<d>expect(</><r>received</><d>).</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expand Down Expand Up @@ -2746,6 +2746,20 @@ Expected: not <g>StringMatching /bc/</>
Received: <r>"abcd"</>
`;

exports[`.toEqual() {pass: true} expect([, , 1, , ]).not.toEqual([, , 1, undefined, ]) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expected: not <g>[, , 1, undefined, ]</>
Received: <r>[, , 1, , ]</>
`;

exports[`.toEqual() {pass: true} expect([, , 1, ]).not.toEqual([, , 1, ]) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expected: not <g>[, , 1, ]</>

`;

exports[`.toEqual() {pass: true} expect([1, 2, 3]).not.toEqual(ArrayContaining [2, 3]) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expand Down Expand Up @@ -2781,20 +2795,6 @@ Expected: not <g>Any<Function></>
Received: <r>[Function anonymous]</>
`;

exports[`.toEqual() {pass: true} expect([undefined, undefined, 1, undefined, undefined]).not.toEqual([undefined, undefined, 1, undefined, undefined]) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expected: not <g>[undefined, undefined, 1, undefined, undefined]</>

`;

exports[`.toEqual() {pass: true} expect([undefined, undefined, 1, undefined]).not.toEqual([undefined, undefined, 1, undefined]) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expected: not <g>[undefined, undefined, 1, undefined]</>

`;

exports[`.toEqual() {pass: true} expect({"a": 1, "b": [Function b], "c": true}).not.toEqual({"a": 1, "b": Any<Function>, "c": Anything}) 1`] = `
<d>expect(</><r>received</><d>).</>not<d>.</>toEqual<d>(</><g>expected</><d>) // deep equality</>

Expand Down

0 comments on commit 12c9dbb

Please sign in to comment.