Skip to content

Commit

Permalink
prevent jest leaking into the prod build (#90318) (#90397)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov authored Feb 5, 2021
1 parent a22d189 commit 166ffe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ import { dataPluginMock } from '../../../../../src/plugins/data/public/mocks';
import { Ast } from '@kbn/interpreter/common';
import { chartPluginMock } from '../../../../../src/plugins/charts/public/mocks';
import { getFieldByNameFactory } from './pure_helpers';
import {
operationDefinitionMap,
getErrorMessages,
createMockedReferenceOperation,
} from './operations';
import { operationDefinitionMap, getErrorMessages } from './operations';
import { createMockedReferenceOperation } from './operations/mocks';

jest.mock('./loader');
jest.mock('../id_generator');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ export {
DerivativeIndexPatternColumn,
MovingAverageIndexPatternColumn,
} from './definitions';

export { createMockedReferenceOperation } from './mocks';

0 comments on commit 166ffe8

Please sign in to comment.