Skip to content

Commit

Permalink
fix: type check
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhoue-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jun 26, 2023
1 parent 3d1be7d commit a952973
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/core/public/saved_objects/saved_objects_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import {

import { SimpleSavedObject } from './simple_saved_object';
import { HttpFetchOptions, HttpSetup } from '../http';
import { WorkspacesStart } from '../workspace';

type SavedObjectsFindOptions = Omit<
SavedObjectFindOptionsServer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { SavedObjectsService, SavedObjectsStart } from './saved_objects_service'
const createStartContractMock = () => {
const mock: jest.Mocked<SavedObjectsStart> = {
client: {
setCurrentWorkspace: jest.fn(),
create: jest.fn(),
bulkCreate: jest.fn(),
bulkUpdate: jest.fn(),
Expand Down

0 comments on commit a952973

Please sign in to comment.