From 83e3afd641cb97ea8683e0bd14874ecdb0f18b65 Mon Sep 17 00:00:00 2001 From: Jeff Yates Date: Mon, 11 Jul 2022 13:09:50 -0500 Subject: [PATCH] [fei4636.2] Address review commentary --- packages/wonder-stuff-core/src/__tests__/keys.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wonder-stuff-core/src/__tests__/keys.test.js b/packages/wonder-stuff-core/src/__tests__/keys.test.js index 981dcc26..d2318fac 100644 --- a/packages/wonder-stuff-core/src/__tests__/keys.test.js +++ b/packages/wonder-stuff-core/src/__tests__/keys.test.js @@ -25,12 +25,12 @@ describe("#keys", () => { b: "2", c: [3, 4], }; - jest.spyOn(Object, "keys").mockReturnValueOnce([1, 2, 3]); + jest.spyOn(Object, "keys").mockReturnValueOnce("THE RESULT"); // Act const result = keys(obj); // Assert - expect(result).toEqual([1, 2, 3]); + expect(result).toEqual("THE RESULT"); }); });