Skip to content

Commit

Permalink
updates rule data client mock
Browse files Browse the repository at this point in the history
  • Loading branch information
dplumlee committed Dec 7, 2021
1 parent a60e3c7 commit 5f62ed2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const createRuleDataClientMock = (
indexName,
kibanaVersion: '7.16.0',
isWriteEnabled: jest.fn(() => true),
indexNameWithNamespace: jest.fn((namespace: string) => indexName + namespace),

// @ts-ignore 4.3.5 upgrade
getReader: jest.fn((_options?: { namespace?: string }) => ({
Expand Down

0 comments on commit 5f62ed2

Please sign in to comment.