mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
style: replace inclusive/exclusive on DateFilterControl with </≤ (#10420)
* feat: improve filter control tooltips * add styles * break out utils into own file * lint * add tests * styled component now working * lint * add license headers * replace shallow with mount due to withTheme Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
/* eslint-disable no-unused-expressions */
|
||||
import React from 'react';
|
||||
import sinon from 'sinon';
|
||||
import { shallow } from 'enzyme';
|
||||
import { mount } from 'enzyme';
|
||||
import { Button, Label } from 'react-bootstrap';
|
||||
|
||||
import DateFilterControl from 'src/explore/components/controls/DateFilterControl';
|
||||
@@ -37,7 +37,7 @@ describe('DateFilterControl', () => {
|
||||
let wrapper;
|
||||
|
||||
beforeEach(() => {
|
||||
wrapper = shallow(<DateFilterControl {...defaultProps} />);
|
||||
wrapper = mount(<DateFilterControl {...defaultProps} />);
|
||||
});
|
||||
|
||||
it('renders a ControlHeader', () => {
|
||||
|
||||
Reference in New Issue
Block a user