chore: cleanup as unknown conversion (#19587)

This commit is contained in:
Yongjie Zhao
2022-04-08 17:32:29 +08:00
committed by GitHub
parent d6d2777ada
commit 761d5c4208
15 changed files with 70 additions and 85 deletions

View File

@@ -18,7 +18,6 @@
*/
import React from 'react';
import { Slice } from 'src/types/Chart';
import { render, screen } from 'spec/helpers/testing-library';
import userEvent from '@testing-library/user-event';
import ExploreHeader from '.';
@@ -80,7 +79,7 @@ const createProps = () => ({
slice_id: 318,
slice_name: 'Age distribution of respondents',
slice_url: '/superset/explore/?form_data=%7B%22slice_id%22%3A%20318%7D',
} as unknown as Slice,
},
slice_name: 'Age distribution of respondents',
actions: {
postChartFormData: () => null,