Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Mar 6, 2020
1 parent 2e41a27 commit dc2fbdb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/plugins/console/public/application/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ import * as localStorageObjectClient from '../lib/local_storage_object_client';
import { createUsageTracker } from '../services/tracker';
import { UsageCollectionSetup } from '../../../usage_collection/public';

let settingsRef: Settings;
export function legacyBackDoorToSettings() {
return settingsRef;
}

export interface BootDependencies {
docLinkVersion: string;
I18nContext: any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

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

// TODO: Remove this mock
jest.mock('../../../application', () => ({ legacyBackDoorToSettings: () => {} }));

import jQuery from 'jquery';
jest.spyOn(jQuery, 'ajax').mockImplementation(
() =>
Expand Down

0 comments on commit dc2fbdb

Please sign in to comment.