Skip to content

Commit

Permalink
cleaned up some test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed May 18, 2020
1 parent 4f8e589 commit 60e2593
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ describe('SavedObjectsService', () => {
[, , , callCluster, includedHiddenTypes],
] = (SavedObjectsRepository.createRepository as jest.Mocked<any>).mock.calls;

// expect(coreSetup.elasticsearch.adminClient.callAsInternalUser).toBe(callCluster);
expect(callCluster).toBe(callAsCurrentUser);
expect(includedHiddenTypes).toEqual([]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ test(`allows all wrappers to be excluded`, () => {
expect(secondClientWrapperFactoryMock).not.toHaveBeenCalled();
});

test(`allows typed to be included`, () => {
test(`allows hidden typed to be included`, () => {
const defaultClient = Symbol();
const defaultClientFactoryMock = jest.fn().mockReturnValue(defaultClient);
const clientProvider = new SavedObjectsClientProvider({
Expand Down

0 comments on commit 60e2593

Please sign in to comment.