Skip to content

Commit

Permalink
add karma mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Nov 14, 2019
1 parent 540c00b commit 6f3f802
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/legacy/ui/public/new_platform/new_platform.karma_mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export const npSetup = {
}
},
},
share: {
register: () => {},
},
inspector: {
registerView: () => undefined,
__LEGACY: {
Expand Down Expand Up @@ -156,6 +159,9 @@ export const npStart = {
},
},
},
share: {
toggleShareContextMenu: () => {},
},
inspector: {
isAvailable: () => false,
open: () => ({
Expand Down

0 comments on commit 6f3f802

Please sign in to comment.