Skip to content

Commit

Permalink
fix jest test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Jun 9, 2020
1 parent 6c30c28 commit f96d3c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import { Field } from '../fields';

import { FieldFormatsStartCommon } from '../../field_formats';

jest.mock('../../../../kibana_utils/common', () => {
const originalModule = jest.requireActual('../../../../kibana_utils/common');
jest.mock('../../field_mapping', () => {
const originalModule = jest.requireActual('../../field_mapping');

return {
...originalModule,
Expand Down

0 comments on commit f96d3c3

Please sign in to comment.