From 43b0ae80eb9176af714003ddd49bfb74cdf295f1 Mon Sep 17 00:00:00 2001 From: william-lai-927 <131758040+william-lai-927@users.noreply.github.com> Date: Wed, 21 Jun 2023 09:48:04 +0100 Subject: [PATCH] docs: update snapshot object format (#14179) --- docs/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.0/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.1/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.2/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.3/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.4/SnapshotTesting.md | 6 +++--- website/versioned_docs/version-29.5/SnapshotTesting.md | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/SnapshotTesting.md b/docs/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/docs/SnapshotTesting.md +++ b/docs/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.0/SnapshotTesting.md b/website/versioned_docs/version-29.0/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.0/SnapshotTesting.md +++ b/website/versioned_docs/version-29.0/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.1/SnapshotTesting.md b/website/versioned_docs/version-29.1/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.1/SnapshotTesting.md +++ b/website/versioned_docs/version-29.1/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.2/SnapshotTesting.md b/website/versioned_docs/version-29.2/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.2/SnapshotTesting.md +++ b/website/versioned_docs/version-29.2/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.3/SnapshotTesting.md b/website/versioned_docs/version-29.3/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.3/SnapshotTesting.md +++ b/website/versioned_docs/version-29.3/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.4/SnapshotTesting.md b/website/versioned_docs/version-29.4/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.4/SnapshotTesting.md +++ b/website/versioned_docs/version-29.4/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', } diff --git a/website/versioned_docs/version-29.5/SnapshotTesting.md b/website/versioned_docs/version-29.5/SnapshotTesting.md index dfbe33c25995..2fcef23b1579 100644 --- a/website/versioned_docs/version-29.5/SnapshotTesting.md +++ b/website/versioned_docs/version-29.5/SnapshotTesting.md @@ -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", @@ -186,7 +186,7 @@ it('will check the matchers and pass', () => { // Snapshot exports[`will check the matchers and pass 1`] = ` -Object { +{ "createdAt": Any, "id": Any, "name": "LeBron James", @@ -211,7 +211,7 @@ it('will check the values and pass', () => { // Snapshot exports[`will check the values and pass 1`] = ` -Object { +{ "createdAt": Any, "name": 'Bond... James Bond', }