Skip to content

Commit dc2fbdb

Browse files
committed
Remove unused code
1 parent 2e41a27 commit dc2fbdb

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/plugins/console/public/application/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ import * as localStorageObjectClient from '../lib/local_storage_object_client';
2727
import { createUsageTracker } from '../services/tracker';
2828
import { UsageCollectionSetup } from '../../../usage_collection/public';
2929

30-
let settingsRef: Settings;
31-
export function legacyBackDoorToSettings() {
32-
return settingsRef;
33-
}
34-
3530
export interface BootDependencies {
3631
docLinkVersion: string;
3732
I18nContext: any;

src/plugins/console/public/application/models/sense_editor/sense_editor.test.mocks.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020

2121
import '../legacy_core_editor/legacy_core_editor.test.mocks';
2222

23-
// TODO: Remove this mock
24-
jest.mock('../../../application', () => ({ legacyBackDoorToSettings: () => {} }));
25-
2623
import jQuery from 'jquery';
2724
jest.spyOn(jQuery, 'ajax').mockImplementation(
2825
() =>

0 commit comments

Comments
 (0)