From 2780a77ced2753bf9f34da32f14c51d58242e919 Mon Sep 17 00:00:00 2001 From: H1Gdev Date: Fri, 1 Feb 2019 22:05:03 +0900 Subject: [PATCH] Remove duplicate 'arrays' in ExpectAPI.md. (#7775) --- docs/ExpectAPI.md | 2 +- website/versioned_docs/version-22.x/ExpectAPI.md | 2 +- website/versioned_docs/version-23.x/ExpectAPI.md | 2 +- website/versioned_docs/version-24.0/ExpectAPI.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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}]); });