From 56f11382da079a2315ce8feedfd7753e401ad175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valent=C3=ADn=20Costa?= Date: Mon, 21 Nov 2022 18:18:15 -0300 Subject: [PATCH 1/2] docs: replace a wrong period with a comma --- website/versioned_docs/version-29.3/JestObjectAPI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-29.3/JestObjectAPI.md b/website/versioned_docs/version-29.3/JestObjectAPI.md index a961dab0fd0d..7f28616cda81 100644 --- a/website/versioned_docs/version-29.3/JestObjectAPI.md +++ b/website/versioned_docs/version-29.3/JestObjectAPI.md @@ -606,7 +606,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: From 57bad287685c1da4e8560224591d9de5ff213fdc Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 1 Jan 2023 17:20:08 +0100 Subject: [PATCH 2/2] all versions --- docs/JestObjectAPI.md | 2 +- website/versioned_docs/version-25.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-26.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-27.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-28.x/JestObjectAPI.md | 2 +- website/versioned_docs/version-29.0/JestObjectAPI.md | 2 +- website/versioned_docs/version-29.1/JestObjectAPI.md | 2 +- website/versioned_docs/version-29.2/JestObjectAPI.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/JestObjectAPI.md b/docs/JestObjectAPI.md index a961dab0fd0d..7f28616cda81 100644 --- a/docs/JestObjectAPI.md +++ b/docs/JestObjectAPI.md @@ -606,7 +606,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-25.x/JestObjectAPI.md b/website/versioned_docs/version-25.x/JestObjectAPI.md index 14e1c33b8a92..4045e9e0c533 100644 --- a/website/versioned_docs/version-25.x/JestObjectAPI.md +++ b/website/versioned_docs/version-25.x/JestObjectAPI.md @@ -479,7 +479,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-26.x/JestObjectAPI.md b/website/versioned_docs/version-26.x/JestObjectAPI.md index 412bc0b88b90..1c670595b8c8 100644 --- a/website/versioned_docs/version-26.x/JestObjectAPI.md +++ b/website/versioned_docs/version-26.x/JestObjectAPI.md @@ -483,7 +483,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-27.x/JestObjectAPI.md b/website/versioned_docs/version-27.x/JestObjectAPI.md index 9948f074c17f..a6612e30a140 100644 --- a/website/versioned_docs/version-27.x/JestObjectAPI.md +++ b/website/versioned_docs/version-27.x/JestObjectAPI.md @@ -483,7 +483,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-28.x/JestObjectAPI.md b/website/versioned_docs/version-28.x/JestObjectAPI.md index 2fbcf2c1b9d9..fd9dae98b7ce 100644 --- a/website/versioned_docs/version-28.x/JestObjectAPI.md +++ b/website/versioned_docs/version-28.x/JestObjectAPI.md @@ -489,7 +489,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-29.0/JestObjectAPI.md b/website/versioned_docs/version-29.0/JestObjectAPI.md index 971ebf892db1..f5de7596082b 100644 --- a/website/versioned_docs/version-29.0/JestObjectAPI.md +++ b/website/versioned_docs/version-29.0/JestObjectAPI.md @@ -533,7 +533,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-29.1/JestObjectAPI.md b/website/versioned_docs/version-29.1/JestObjectAPI.md index d91ed7d768e2..a5d988f8bfdd 100644 --- a/website/versioned_docs/version-29.1/JestObjectAPI.md +++ b/website/versioned_docs/version-29.1/JestObjectAPI.md @@ -606,7 +606,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. ::: diff --git a/website/versioned_docs/version-29.2/JestObjectAPI.md b/website/versioned_docs/version-29.2/JestObjectAPI.md index 6314b7f0797c..a50d15084002 100644 --- a/website/versioned_docs/version-29.2/JestObjectAPI.md +++ b/website/versioned_docs/version-29.2/JestObjectAPI.md @@ -606,7 +606,7 @@ By default, `jest.spyOn` also calls the **spied** method. This is different beha :::tip -Since `jest.spyOn` is a mock. You could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. +Since `jest.spyOn` is a mock, you could restore the initial state calling [jest.restoreAllMocks](#jestrestoreallmocks) on [afterEach](GlobalAPI.md#aftereachfn-timeout) method. :::