Files
superset2/superset/assets/spec/javascripts/explore/components/AggregateOption_spec.jsx
Maxime Beauchemin c0db6dbb57 Moving some JS folders (#4820)
* Moving folders

* Pointing to new locations
2018-04-17 21:05:01 -07:00

15 lines
473 B
JavaScript

/* eslint-disable no-unused-expressions */
import React from 'react';
import { expect } from 'chai';
import { describe, it } from 'mocha';
import { shallow } from 'enzyme';
import AggregateOption from '../../../../src/explore/components/AggregateOption';
describe('AggregateOption', () => {
it('renders the aggregate', () => {
const wrapper = shallow(<AggregateOption aggregate={{ aggregate_name: 'SUM' }} />);
expect(wrapper.text()).to.equal('SUM');
});
});