From 73e75b7934343762ca07b69105ea15e67f60927c Mon Sep 17 00:00:00 2001 From: Maxim Manylov Date: Thu, 5 Mar 2020 00:15:16 +0300 Subject: [PATCH] Update INSTRUCTIONS.md --- INSTRUCTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTRUCTIONS.md b/INSTRUCTIONS.md index 0fe62f41..04503e31 100644 --- a/INSTRUCTIONS.md +++ b/INSTRUCTIONS.md @@ -114,7 +114,7 @@ successful for this workshop `expect({a: {b: 'c'}, d: 'e'}).toEqual({a: {b: 'c'}, d: 'e'})` * [`toMatchObject`](https://facebook.github.io/jest/docs/en/expect.html#tomatchobjectobject) is similar to `toEqual`, but for partial equality: - `expect({a: {b: 'c'}, d: 'e'}).toEqual({d: 'e'})` + `expect({a: {b: 'c'}, d: 'e'}).toMatchObject({d: 'e'})` * [`toHaveBeenCalledTimes`](https://facebook.github.io/jest/docs/en/expect.html#tohavebeencalledtimesnumber) is a jest mock function (`jest.fn()`) assertion: `expect(mockFn).toHaveBeenCalledTimes(0)`