diff --git a/docs/ExpectAPI.md b/docs/ExpectAPI.md index 81c79eae95d1..756f58a7e9ac 100644 --- a/docs/ExpectAPI.md +++ b/docs/ExpectAPI.md @@ -1039,7 +1039,7 @@ test('the house has my desired features', () => { ``` ```js -describe('toMatchObject applied to arrays arrays', () => { +describe('toMatchObject applied to arrays', () => { test('the number of elements must match exactly', () => { expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]); }); diff --git a/website/versioned_docs/version-22.x/ExpectAPI.md b/website/versioned_docs/version-22.x/ExpectAPI.md index 2f739571b9c2..26888f3dc347 100644 --- a/website/versioned_docs/version-22.x/ExpectAPI.md +++ b/website/versioned_docs/version-22.x/ExpectAPI.md @@ -770,7 +770,7 @@ test('the house has my desired features', () => { ``` ```js -describe('toMatchObject applied to arrays arrays', () => { +describe('toMatchObject applied to arrays', () => { test('the number of elements must match exactly', () => { expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]); }); diff --git a/website/versioned_docs/version-23.x/ExpectAPI.md b/website/versioned_docs/version-23.x/ExpectAPI.md index a11976e0cb18..5b7011fcb2e3 100644 --- a/website/versioned_docs/version-23.x/ExpectAPI.md +++ b/website/versioned_docs/version-23.x/ExpectAPI.md @@ -1029,7 +1029,7 @@ test('the house has my desired features', () => { ``` ```js -describe('toMatchObject applied to arrays arrays', () => { +describe('toMatchObject applied to arrays', () => { test('the number of elements must match exactly', () => { expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]); }); diff --git a/website/versioned_docs/version-24.0/ExpectAPI.md b/website/versioned_docs/version-24.0/ExpectAPI.md index a4938d2798a9..caa677a58436 100644 --- a/website/versioned_docs/version-24.0/ExpectAPI.md +++ b/website/versioned_docs/version-24.0/ExpectAPI.md @@ -1040,7 +1040,7 @@ test('the house has my desired features', () => { ``` ```js -describe('toMatchObject applied to arrays arrays', () => { +describe('toMatchObject applied to arrays', () => { test('the number of elements must match exactly', () => { expect([{foo: 'bar'}, {baz: 1}]).toMatchObject([{foo: 'bar'}, {baz: 1}]); });