Skip to content

Commit

Permalink
more nits
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Oct 29, 2020
1 parent ffc6425 commit 7abf3e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

import { ISavedObjectDecoratorRegistry } from './registry';

const createRegistryMock = (): jest.Mocked<ISavedObjectDecoratorRegistry> => {
const mock = {
const createRegistryMock = () => {
const mock: jest.Mocked<ISavedObjectDecoratorRegistry> = {
register: jest.fn(),
getOrderedDecorators: jest.fn(),
};
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/saved_objects_tagging_oss/public/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface SavedObjectsTaggingApiUi {
}

/**
* UI components to be used to display the tagging feature in any application.
* React UI components to be used to display the tagging feature in any application.
*
* @public
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { TagsCache } from './tags_cache';

type TagsCacheMock = jest.Mocked<PublicMethodsOf<TagsCache>>;

const createTagsCacheMock = (): TagsCacheMock => {
const mock = {
const createTagsCacheMock = () => {
const mock: TagsCacheMock = {
getState: jest.fn(),
getState$: jest.fn(),
initialize: jest.fn(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import { ITagsClient } from '../../common/types';

const createClientMock = (): jest.Mocked<ITagsClient> => {
const mock = {
const createClientMock = () => {
const mock: jest.Mocked<ITagsClient> = {
create: jest.fn(),
get: jest.fn(),
getAll: jest.fn(),
Expand Down

0 comments on commit 7abf3e3

Please sign in to comment.