Skip to content

Commit

Permalink
refactor: fix mocks according CRs
Browse files Browse the repository at this point in the history
  • Loading branch information
simcha90 committed Jan 25, 2021
1 parent 0cc68fa commit ca63374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions superset-frontend/spec/fixtures/mockNativeFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const layoutForSingleNativeFilter = {
meta: {
chartId: 230,
height: 50,
sliceName: 'Pie',
sliceName: 'Pie Chart',
uuid: '05ef6145-3950-4f59-891f-160852613eca',
width: 12,
},
Expand All @@ -147,7 +147,7 @@ export const layoutForSingleNativeFilter = {
meta: {
chartId: 227,
height: 50,
sliceName: 'Select filter',
sliceName: 'Another Chart',
uuid: 'ddb78f6c-7876-47fc-ae98-70183b05ba90',
width: 4,
},
Expand All @@ -160,7 +160,7 @@ export const layoutForSingleNativeFilter = {
meta: {
chartId: 229,
height: 47,
sliceName: 'Bars 2',
sliceName: 'Bar Chart',
uuid: 'e1501e54-d632-4fdc-ae16-07cafee31093',
width: 12,
},
Expand All @@ -177,7 +177,7 @@ export const layoutForSingleNativeFilter = {
HEADER_ID: {
id: 'HEADER_ID',
type: 'HEADER',
meta: { text: '[ untitled dashboard ]' },
meta: { text: 'My Native Filter Dashboard' },
},
ROOT_ID: { children: ['GRID_ID'], id: 'ROOT_ID', type: 'ROOT' },
'ROW-NweUz7oC0': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import dashboardInfo from 'spec/fixtures/mockDashboardInfo';
import { dashboardLayout } from 'spec/fixtures/mockDashboardLayout';
import dashboardState from 'spec/fixtures/mockDashboardState';
import { sliceEntitiesForChart as sliceEntities } from 'spec/fixtures/mockSliceEntities';
import { getActiveNativeFilters } from '../../../../src/dashboard/util/activeDashboardNativeFilters';
import { getActiveNativeFilters } from 'src/dashboard/util/activeDashboardNativeFilters';

describe('Dashboard', () => {
const props = {
Expand Down

0 comments on commit ca63374

Please sign in to comment.