chore: metric refactor iteration 1 (#13596)

This commit is contained in:
Yongjie Zhao
2021-03-12 23:11:05 +08:00
committed by GitHub
parent 609c3594ef
commit 817b740f59
18 changed files with 41 additions and 17 deletions

View File

@@ -20,7 +20,7 @@
import React from 'react';
import { shallow } from 'enzyme';
import AggregateOption from 'src/explore/components/AggregateOption';
import AggregateOption from 'src/explore/components/controls/MetricControl/AggregateOption';
describe('AggregateOption', () => {
it('renders the aggregate', () => {

View File

@@ -22,7 +22,7 @@ import { shallow } from 'enzyme';
import { ColumnOption, MetricOption } from '@superset-ui/chart-controls';
import MetricDefinitionOption from 'src/explore/components/controls/MetricControl/MetricDefinitionOption';
import AggregateOption from 'src/explore/components/AggregateOption';
import AggregateOption from 'src/explore/components/controls/MetricControl/AggregateOption';
describe('MetricDefinitionOption', () => {
const mockStore = configureStore([]);