Build optimizations (#3378)

Bumping some version, removing unused libs, ...
This commit is contained in:
Maxime Beauchemin
2017-08-28 16:16:52 -07:00
committed by GitHub
parent 48b88e5241
commit a782d623f0
9 changed files with 36 additions and 27 deletions

View File

@@ -28,7 +28,9 @@ describe('HighlightedSql', () => {
const pre = wrapper.find('pre');
expect(pre).to.have.length(1);
pre.simulate('click');
const modalBody = mount(wrapper.state().modalBody);
expect(modalBody.find(SyntaxHighlighter)).to.have.length(2);
setTimeout(() => {
const modalBody = mount(wrapper.state().modalBody);
expect(modalBody.find(SyntaxHighlighter)).to.have.length(2);
}, 10);
});
});