Skip to content

Commit

Permalink
Update Snapshot Object format
Browse files Browse the repository at this point in the history
  • Loading branch information
william-lai-927 committed Jun 6, 2023
1 parent 6460335 commit f3f4753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/versioned_docs/version-29.5/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ it('will fail every time', () => {

// Snapshot
exports[`will fail every time 1`] = `
Object {
{
"createdAt": 2018-05-19T23:36:09.816Z,
"id": 3,
"name": "LeBron James",
Expand All @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => {

// Snapshot
exports[`will check the matchers and pass 1`] = `
Object {
{
"createdAt": Any<Date>,
"id": Any<Number>,
"name": "LeBron James",
Expand All @@ -211,7 +211,7 @@ it('will check the values and pass', () => {

// Snapshot
exports[`will check the values and pass 1`] = `
Object {
{
"createdAt": Any<Date>,
"name": 'Bond... James Bond',
}
Expand Down

0 comments on commit f3f4753

Please sign in to comment.