Skip to content

Commit

Permalink
[tests] fix sqllab/TableElement_spec (apache#5874)
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster authored Sep 12, 2018
1 parent 367dcda commit bec0b4c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit bec0b4c

Please sign in to comment.