Files
superset2/superset/assets/spec/javascripts/explorev2/components/ChartContainer_spec.js
Alanna Scott 0c9f9b695b [clarity/consistency] rename /explorev2/ -> /explore/ (#2802)
* rename /explorev2/ -> /explore/

* add redirect for existing explorev2 urls

* fix long line

* remove extra line

* fix missed ref in spec
2017-05-24 17:12:28 -07:00

23 lines
696 B
JavaScript

// this test must be commented out because ChartContainer is now importing files
// from visualizations/*.js which are also importing css files which breaks in the testing env
// import React from 'react';
// import { expect } from 'chai';
// import { describe, it } from 'mocha';
// import ChartContainer from '../../../../javascripts/explore/components/ChartContainer';
// describe('ChartContainer', () => {
// const mockProps = {
// sliceName: 'Trend Line',
// vizType: 'line',
// height: '500px',
// };
// it('renders when vizType is line', () => {
// expect(
// React.isValidElement(<ChartContainer {...mockProps} />)
// ).to.equal(true);
// });
// });