Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maryia-lapata committed Nov 11, 2019
1 parent c2706a1 commit e841832
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ jest.mock(
{ virtual: true }
);

jest.mock('ui/new_platform', () => {
return {
npStart: {
core: {
notifications: { toasts: { } },
uiSettings: { get: jest.fn(() => 10) },
},
},
};
});

import React from 'react';
import { shallow } from 'enzyme';

Expand Down

0 comments on commit e841832

Please sign in to comment.