Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
[tests] fix sqllab/TableElement_spec (apache#5874)
Browse files Browse the repository at this point in the history
(cherry picked from commit bec0b4c)
  • Loading branch information
williaster authored and kristw committed Sep 12, 2018
1 parent e108110 commit a1c3ded
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 a1c3ded

Please sign in to comment.