diff options
Diffstat (limited to 'server/sonar-web/tests/components/charts/bar-chart-test.js')
-rw-r--r-- | server/sonar-web/tests/components/charts/bar-chart-test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/tests/components/charts/bar-chart-test.js b/server/sonar-web/tests/components/charts/bar-chart-test.js index d2cc1f7784a..894d02a483e 100644 --- a/server/sonar-web/tests/components/charts/bar-chart-test.js +++ b/server/sonar-web/tests/components/charts/bar-chart-test.js @@ -1,12 +1,10 @@ -import React from 'react/addons'; +import React from 'react'; +import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import { BarChart } from '../../../src/main/js/components/charts/bar-chart'; -let TestUtils = React.addons.TestUtils; - - describe('Bar Chart', function () { it('should display bars', function () { |