Web: Components: ContextMenuButton: Useless test removed
This commit is contained in:
parent
e7779cdec2
commit
a59b4a8fad
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user