Skip to content

Commit

Permalink
fix jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Sep 14, 2021
1 parent 5ee1afd commit c21c9d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/server/autocomplete/terms_agg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const mockResponse = {
},
} as ApiResponse<estypes.SearchResponse<any>>;

jest.mock('../index_patterns');
jest.mock('../data_views');

describe('terms agg suggestions', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/server/autocomplete/terms_enum.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const mockResponse = {
body: { terms: ['whoa', 'amazing'] },
};

jest.mock('../index_patterns');
jest.mock('../data_views');

describe('_terms_enum suggestions', () => {
beforeEach(() => {
Expand Down

0 comments on commit c21c9d5

Please sign in to comment.