Skip to content

Commit

Permalink
[fei4636.2] Address review commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
somewhatabstract committed Jul 11, 2022
1 parent 8355849 commit 83e3afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wonder-stuff-core/src/__tests__/keys.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
});

0 comments on commit 83e3afd

Please sign in to comment.