mirror of
https://github.com/apache/superset.git
synced 2026-04-08 02:45:22 +00:00
committed by
GitHub
parent
8c29ba88a4
commit
3fb183349f
@@ -23,11 +23,15 @@ import Popover from 'src/common/components/Popover';
|
||||
import sinon from 'sinon';
|
||||
import { Provider } from 'react-redux';
|
||||
import configureStore from 'redux-mock-store';
|
||||
|
||||
import fetchMock from 'fetch-mock';
|
||||
import EmbedCodeButton from 'src/explore/components/EmbedCodeButton';
|
||||
import * as exploreUtils from 'src/explore/exploreUtils';
|
||||
import * as common from 'src/utils/common';
|
||||
|
||||
const ENDPOINT = 'glob:*/r/shortner/';
|
||||
|
||||
fetchMock.post(ENDPOINT, {});
|
||||
|
||||
describe('EmbedCodeButton', () => {
|
||||
const mockStore = configureStore([]);
|
||||
const store = mockStore({});
|
||||
|
||||
Reference in New Issue
Block a user