Skip to content

Commit

Permalink
test(shared): Fixed test for getNonUndefinedValues utility function
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper committed Nov 9, 2023
1 parent 87f782f commit 74cc3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/__tests__/underscore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ describe('getNonUndefinedValues', () => {
c: null,
};
expect(getNonUndefinedValues(obj)).toStrictEqual(obj);
expect(getNonUndefinedValues({})).toStrictEqual(obj);
expect(getNonUndefinedValues({})).toStrictEqual({});
});

it(`removes only the undefined values from the top level`, () => {
Expand Down

0 comments on commit 74cc3f8

Please sign in to comment.