Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 09404a8

Browse files
committed
fix failing test
1 parent 69c2a08 commit 09404a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/menu-item-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe("<MenuItem/>", () => {
5656
wrapper = mount(<MenuItem onClick={onClick} data={data}/>);
5757

5858
wrapper.find("a").simulate("click");
59-
expect(onClick.getCall(0).args[1]).to.equal(data);
59+
expect(onClick.getCall(0).args[1]).to.eql(data);
6060
});
6161

6262
it("`preventClose` should not close the menu", () => {

0 commit comments

Comments
 (0)