From 0965fbcab3616523086d05c1069492cc171cbb80 Mon Sep 17 00:00:00 2001 From: AZM Date: Mon, 30 Oct 2023 20:40:18 +0900 Subject: [PATCH] Update utils-test.js desciption (#27624) ## Summary Updated the typo in test description ## How did you test this change? NA, correct test description improves readability of the code and confusion for anyone who is new to the codebase. --- packages/react-devtools-shared/src/__tests__/utils-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-devtools-shared/src/__tests__/utils-test.js b/packages/react-devtools-shared/src/__tests__/utils-test.js index 706fa99e09..b035ce012b 100644 --- a/packages/react-devtools-shared/src/__tests__/utils-test.js +++ b/packages/react-devtools-shared/src/__tests__/utils-test.js @@ -283,12 +283,12 @@ describe('utils', () => { expect(isPlainObject(new (class C {})())).toBe(false); }); - it('should retun false for objects, which have not only Object in its prototype chain', () => { + it('should return false for objects, which have not only Object in its prototype chain', () => { expect(isPlainObject([])).toBe(false); expect(isPlainObject(Symbol())).toBe(false); }); - it('should retun false for primitives', () => { + it('should return false for primitives', () => { expect(isPlainObject(5)).toBe(false); expect(isPlainObject(true)).toBe(false); });