Web: Components: ContextMenuButton: Useless test removed

This commit is contained in:
Ilya Oleshko 2020-01-10 12:27:39 +03:00
parent e7779cdec2
commit a59b4a8fad

View File

@ -140,15 +140,6 @@ describe('<ContextMenuButton />', () => {
expect(wrapper.props()).toBe(wrapper.props());
});
it('componentWillUnmount() props lifecycle test', () => {
const wrapper = shallow(<ContextMenuButton {...baseProps} />);
const instance = wrapper.instance();
instance.componentWillUnmount();
expect(wrapper).toExist(false);
});
it('accepts id', () => {
const wrapper = mount(
<ContextMenuButton {...baseProps} id="testId" />