Fix tests errors and warnings - iteration 4 (#12212) (#12223)

This commit is contained in:
Michael S. Molina
2021-01-26 04:24:41 -03:00
committed by GitHub
parent 0fc9da6be7
commit 0c08bb87c3
10 changed files with 62 additions and 38 deletions

View File

@@ -23,10 +23,13 @@ import { Provider } from 'react-redux';
import configureStore from 'redux-mock-store';
import SupersetResourceSelect from 'src/components/SupersetResourceSelect';
import { supersetTheme, ThemeProvider } from '@superset-ui/core';
import fetchMock from 'fetch-mock';
describe('SupersetResourceSelect', () => {
const NOOP = () => {};
fetchMock.get('glob:*/api/v1/dataset/?q=*', {});
it('is a valid element', () => {
// @ts-ignore
expect(