mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Renaming field to control (#2210)
This commit is contained in:
committed by
GitHub
parent
d5ba88b407
commit
1e47d6fb41
@@ -5,7 +5,7 @@ import sinon from 'sinon';
|
||||
import { expect } from 'chai';
|
||||
import { describe, it, beforeEach } from 'mocha';
|
||||
import { shallow } from 'enzyme';
|
||||
import TextAreaField from '../../../../javascripts/explorev2/components/TextAreaField';
|
||||
import TextAreaControl from '../../../../javascripts/explorev2/components/controls/TextAreaControl';
|
||||
|
||||
const defaultProps = {
|
||||
name: 'x_axis_label',
|
||||
@@ -13,11 +13,11 @@ const defaultProps = {
|
||||
onChange: sinon.spy(),
|
||||
};
|
||||
|
||||
describe('SelectField', () => {
|
||||
describe('SelectControl', () => {
|
||||
let wrapper;
|
||||
|
||||
beforeEach(() => {
|
||||
wrapper = shallow(<TextAreaField {...defaultProps} />);
|
||||
wrapper = shallow(<TextAreaControl {...defaultProps} />);
|
||||
});
|
||||
|
||||
it('renders a FormControl', () => {
|
||||
|
||||
Reference in New Issue
Block a user