File tree Expand file tree Collapse file tree
src/plugins/console/public/application Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,6 @@ import * as localStorageObjectClient from '../lib/local_storage_object_client';
2727import { createUsageTracker } from '../services/tracker' ;
2828import { UsageCollectionSetup } from '../../../usage_collection/public' ;
2929
30- let settingsRef : Settings ;
31- export function legacyBackDoorToSettings ( ) {
32- return settingsRef ;
33- }
34-
3530export interface BootDependencies {
3631 docLinkVersion : string ;
3732 I18nContext : any ;
Original file line number Diff line number Diff line change 2020
2121import '../legacy_core_editor/legacy_core_editor.test.mocks' ;
2222
23- // TODO: Remove this mock
24- jest . mock ( '../../../application' , ( ) => ( { legacyBackDoorToSettings : ( ) => { } } ) ) ;
25-
2623import jQuery from 'jquery' ;
2724jest . spyOn ( jQuery , 'ajax' ) . mockImplementation (
2825 ( ) =>
You can’t perform that action at this time.
0 commit comments