[tests] fix sqllab/TableElement_spec (#5874)

This commit is contained in:
Chris Williams
2018-09-12 12:32:46 -07:00
committed by GitHub
parent 367dcdaa7d
commit bec0b4cc37

View File

@@ -54,8 +54,6 @@ describe('TableElement', () => {
expect(wrapper.state().expanded).to.equal(true);
wrapper.find('.table-remove').simulate('click');
expect(wrapper.state().expanded).to.equal(false);
setTimeout(() => {
expect(mockedActions.removeTable.called).to.equal(true);
}, 10);
expect(mockedActions.removeDataPreview.called).to.equal(true);
});
});