Revert "style: fix checkbox color (#10970)" (#11051)

This reverts commit e4e78b66fa.
This commit is contained in:
Grace Guo
2020-09-24 16:53:02 -07:00
committed by GitHub
parent ea105bc23b
commit 3467d2d8d6
3 changed files with 6 additions and 18 deletions

View File

@@ -21,8 +21,6 @@ import React from 'react';
import sinon from 'sinon';
import { shallow, mount } from 'enzyme';
import { supersetTheme, ThemeProvider } from '@superset-ui/core';
import CheckboxControl from 'src/explore/components/controls/CheckboxControl';
import ControlHeader from 'src/explore/components/ControlHeader';
import Checkbox from 'src/components/Checkbox';
@@ -50,10 +48,7 @@ describe('CheckboxControl', () => {
});
it('Checks the box when the label is clicked', () => {
const fullComponent = mount(<CheckboxControl {...defaultProps} />, {
wrappingComponent: ThemeProvider,
wrappingComponentProps: { theme: supersetTheme },
});
const fullComponent = mount(<CheckboxControl {...defaultProps} />);
const spy = sinon.spy(fullComponent.instance(), 'onChange');