Skip to content

Commit

Permalink
Add usage stats for other saved objects APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
jportner committed Dec 12, 2020
1 parent 9b962d9 commit 7fcaf5f
Show file tree
Hide file tree
Showing 31 changed files with 1,254 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ import { CoreUsageStatsClient } from '.';
const createUsageStatsClientMock = () =>
(({
getUsageStats: jest.fn().mockResolvedValue({}),
incrementSavedObjectsBulkCreate: jest.fn().mockResolvedValue(null),
incrementSavedObjectsBulkGet: jest.fn().mockResolvedValue(null),
incrementSavedObjectsBulkUpdate: jest.fn().mockResolvedValue(null),
incrementSavedObjectsCreate: jest.fn().mockResolvedValue(null),
incrementSavedObjectsDelete: jest.fn().mockResolvedValue(null),
incrementSavedObjectsFind: jest.fn().mockResolvedValue(null),
incrementSavedObjectsGet: jest.fn().mockResolvedValue(null),
incrementSavedObjectsUpdate: jest.fn().mockResolvedValue(null),
incrementSavedObjectsImport: jest.fn().mockResolvedValue(null),
incrementSavedObjectsResolveImportErrors: jest.fn().mockResolvedValue(null),
incrementSavedObjectsExport: jest.fn().mockResolvedValue(null),
Expand Down
Loading

0 comments on commit 7fcaf5f

Please sign in to comment.