From 17f6424dbf5ed650400d3e22e15c8731e1dd4ff2 Mon Sep 17 00:00:00 2001 From: Robert James Gabriel Date: Thu, 22 Jun 2017 01:23:24 +0100 Subject: [PATCH 1/2] Hopefully, small fixes --- docs/en/ExpectAPI.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/ExpectAPI.md b/docs/en/ExpectAPI.md index 5d0117e55e39..fedab603e4aa 100644 --- a/docs/en/ExpectAPI.md +++ b/docs/en/ExpectAPI.md @@ -750,8 +750,8 @@ const houseForSale = { kitchen: { amenities: ['oven', 'stove', 'washer'], area: 20, - wallColor: 'white', - }, + wallColor: 'white' + } }; test('this house has my desired features', () => { @@ -766,10 +766,10 @@ test('this house has my desired features', () => { expect(houseForSale).toHaveProperty('kitchen.amenities', [ 'oven', 'stove', - 'washer', + 'washer' ]); - expect(hosueForSale).not.toHaveProperty('kitchen.open'); + expect(houseForSale).not.toHaveProperty('kitchen.open'); }); ``` From 67a3a05cd07791431254fce468a6b00e63ad1546 Mon Sep 17 00:00:00 2001 From: Aaron Abramov Date: Wed, 21 Jun 2017 21:50:40 -0700 Subject: [PATCH 2/2] Update ExpectAPI.md --- docs/en/ExpectAPI.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/ExpectAPI.md b/docs/en/ExpectAPI.md index fedab603e4aa..546209be08d8 100644 --- a/docs/en/ExpectAPI.md +++ b/docs/en/ExpectAPI.md @@ -750,8 +750,8 @@ const houseForSale = { kitchen: { amenities: ['oven', 'stove', 'washer'], area: 20, - wallColor: 'white' - } + wallColor: 'white', + }, }; test('this house has my desired features', () => { @@ -766,7 +766,7 @@ test('this house has my desired features', () => { expect(houseForSale).toHaveProperty('kitchen.amenities', [ 'oven', 'stove', - 'washer' + 'washer', ]); expect(houseForSale).not.toHaveProperty('kitchen.open');