Skip to content

Commit b680298

Browse files
committed
Fix mock context value
1 parent ea6fbbe commit b680298

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class MockTimeBuckets {
2727
}
2828
}
2929
export const mockContextValue = {
30+
getLicenseStatus: () => ({
31+
valid: true,
32+
}),
3033
docLinks: docLinksServiceMock.createStartContract(),
3134
chrome: chromeServiceMock.createStartContract(),
3235
MANAGEMENT_BREADCRUMB: { text: 'test' },

0 commit comments

Comments
 (0)