Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Feb 10, 2020
1 parent b735afb commit 9a35309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { initTableVisLegacyModule } from '../table_vis_legacy_module';
import { coreMock } from '../../../../../core/public/mocks';

jest.mock('ui/new_platform');
jest.mock('ui/legacy_compat', () => ({
jest.mock('../../../../../plugins/kibana_legacy/public/angular/angular_config', () => ({
configureAppAngularModule: () => {},
}));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { AggConfigs } from 'ui/agg_types';
import { tabifyAggResponse, IAggConfig } from './legacy_imports';

jest.mock('ui/new_platform');
jest.mock('ui/legacy_compat', () => ({
jest.mock('../../../../plugins/kibana_legacy/public/angular/angular_config', () => ({
configureAppAngularModule: () => {},
}));

Expand Down

0 comments on commit 9a35309

Please sign in to comment.