Skip to content

Commit 9267730

Browse files
Refine deepmerge function test
1 parent 5172799 commit 9267730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/bento-design-system/test/deepmerge.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("deepmerge", () => {
1616

1717
it("does not merge object fields that are valid React elements", () => {
1818
const input1 = { a: 1, b: 2 };
19-
const input2 = { a: <div>hello</div>, b: 4 };
19+
const input2 = <div>hello</div>;
2020
expect(deepmerge(input1, input2)).toEqual(input2);
2121
});
2222
});

0 commit comments

Comments
 (0)