From: Stas Vilchik Date: Mon, 30 Nov 2015 15:16:16 +0000 (+0100) Subject: fix treemap test X-Git-Tag: 5.3-RC1~126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d3bd25d497f8f0e7d914873e910898f7bac75551;p=sonarqube.git fix treemap test --- diff --git a/server/sonar-web/tests/components/charts/treemap-test.js b/server/sonar-web/tests/components/charts/treemap-test.js index f5322ed26a0..3200db3b11a 100644 --- a/server/sonar-web/tests/components/charts/treemap-test.js +++ b/server/sonar-web/tests/components/charts/treemap-test.js @@ -13,7 +13,8 @@ describe('Treemap', function () { { size: 30, color: '#777', label: 'SonarQube :: Web' }, { size: 20, color: '#777', label: 'SonarQube :: Search' } ]; - let chart = TestUtils.renderIntoDocument(); + let chart = TestUtils.renderIntoDocument( + true}/>); expect(TestUtils.scryRenderedDOMComponentsWithClass(chart, 'treemap-cell')).to.have.length(3); });