Skip to content

Commit

Permalink
Add mock
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof committed Apr 24, 2020
1 parent a7d2a20 commit 16ad08a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.

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

1 change: 1 addition & 0 deletions src/plugins/data/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const createStartContract = (): Start => {
SearchBar: jest.fn(),
},
indexPatterns: ({
ensureDefaultIndexPattern: jest.fn(),
make: () => ({
fieldsFetcher: {
fetchForWildcard: jest.fn(),
Expand Down

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

0 comments on commit 16ad08a

Please sign in to comment.