Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Sep 27, 2023
1 parent a6fa1fe commit d8d033c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/snapshots/test/__snapshots__/shapshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ describe('snapshots with properties', () => {
test('with snapshot', () => {
expect({ first: { second: { foo: 'bar' } } }).toMatchInlineSnapshot({ first: { second: { foo: expect.any(String) } } }, \`
Object {
\\"first\\": Object {
\\"second\\": Object {
\\"foo\\": Any<String>,
"first": Object {
"second": Object {
"foo": Any<String>,
},
},
}
Expand All @@ -51,19 +51,19 @@ describe('snapshots with properties', () => {
test('mixed with and without snapshot', () => {
expect({ first: { second: { foo: 'bar' } } }).toMatchInlineSnapshot({ first: { second: { foo: expect.any(String) } } }, \`
Object {
\\"first\\": Object {
\\"second\\": Object {
\\"foo\\": Any<String>,
"first": Object {
"second": Object {
"foo": Any<String>,
},
},
}
\`)
expect({ first: { second: { foo: 'zed' } } }).toMatchInlineSnapshot(\`
Object {
\\"first\\": Object {
\\"second\\": Object {
\\"foo\\": \\"zed\\",
"first": Object {
"second": Object {
"foo": "zed",
},
},
}
Expand Down

0 comments on commit d8d033c

Please sign in to comment.