Skip to content

Commit

Permalink
Temporarily exclude jest mock from courier exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Dec 3, 2019
1 parent 8c7c8d1 commit 167661f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/legacy/ui/public/courier/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
*/

export { SearchSource } from './search_source';
export { searchSourceMock } from './search_source/mocks';

// TODO: Exporting this mock outside of jest tests causes errors because
// jest is undefined. Need to refactor the mock to be consistent with
// other NP-style mocks.
// export { searchSourceMock } from './search_source/mocks';

export {
addSearchStrategy, // used externally by Rollups
Expand Down

0 comments on commit 167661f

Please sign in to comment.