Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Oct 22, 2019
1 parent 72620fc commit a5c7e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

jest.mock('../constants', () => ({ DATA_TYPE_DEFINITION: {} }));
jest.mock('../constants', () => ({ MAIN_DATA_TYPE_DEFINITION: {} }));

import { isStateValid } from './utils';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import {
MainType,
SubType,
ChildFieldName,
TreeItem,
} from '../types';

import { MAIN_DATA_TYPE_DEFINITION, MAX_DEPTH_DEFAULT_EDITOR } from '../constants';

import { State } from '../reducer';
import { TreeItem } from '../components/tree';

export const getUniqueId = () => {
const dateNow = Date.now();
Expand Down

0 comments on commit a5c7e9e

Please sign in to comment.