Graph: introduce Tooltip to React graph (#20046)

This commit is contained in:
Dominik Prokop
2019-11-07 12:37:46 +01:00
committed by GitHub
parent 08ada20270
commit 96dbed5efc
47 changed files with 1697 additions and 3437 deletions

View File

@@ -2,6 +2,12 @@ import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import 'jquery';
import $ from 'jquery';
const global = window as any;
global.$ = global.jQuery = $;
import '../vendor/flot/jquery.flot';
import '../vendor/flot/jquery.flot.time';
import 'angular';
import angular from 'angular';
@@ -18,9 +24,6 @@ jest.mock('app/features/plugins/plugin_loader', () => ({}));
configure({ adapter: new Adapter() });
const global = window as any;
global.$ = global.jQuery = $;
const localStorageMock = (() => {
let store: any = {};
return {