Skip to content

Commit

Permalink
Test fixes II
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCarlino committed Aug 23, 2019
1 parent 2dd02e1 commit df00fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/logs/components/__tests__/filter_menu_test.tsx
Expand Up @@ -36,7 +36,7 @@ describe("<LogsFilterMenu />", () => {
p.toggle = (x) => () => toggle(x);
p.setFilterLevel = (x) => () => setFilterLevel(x);
const wrapper = mount(<LogsFilterMenu {...p} />);
wrapper.find("button").at(2).simulate("click");
wrapper.find("button").at(3).simulate("click");
expect(toggle).toHaveBeenCalledWith(MessageType.success);
});

Expand Down

0 comments on commit df00fd0

Please sign in to comment.