Skip to content

Commit

Permalink
Fixed ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Nov 4, 2020
1 parent acc41ff commit 5ea1bd1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.securityNavControlComponent__userMenu {
.euiPopoverTitle {
.euiContextMenuPanelTitle {
text-transform: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('SecurityNavControl', () => {
expect(findTestSubject(wrapper, 'logoutLink')).toHaveLength(1);
});

it('renders a popover with additional user links registered by other plugins', async () => {
it('renders a popover with additional user menu links registered by other plugins', async () => {
const props = {
user: Promise.resolve({ full_name: 'foo' }) as Promise<AuthenticatedUser>,
editProfileUrl: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { SecurityNavControlService } from '.';
import { SecurityLicenseService } from '../../common/licensing';
import { nextTick } from 'test_utils/enzyme_helpers';
import { securityMock } from '../mocks';
import { cloudMock } from '../../../cloud/public/mocks';
import { mockAuthenticatedUser } from '../../common/model/authenticated_user.mock';

const validLicense = {
Expand Down Expand Up @@ -40,7 +39,6 @@ describe('SecurityNavControlService', () => {
securityLicense: new SecurityLicenseService().setup({ license$ }).license,
authc: mockSecuritySetup.authc,
logoutUrl: '/some/logout/url',
cloud: cloudMock.createSetup(),
});

const coreStart = coreMock.createStart();
Expand Down Expand Up @@ -104,7 +102,6 @@ describe('SecurityNavControlService', () => {
securityLicense: new SecurityLicenseService().setup({ license$ }).license,
authc: securityMock.createSetup().authc,
logoutUrl: '/some/logout/url',
cloud: cloudMock.createSetup(),
});

const coreStart = coreMock.createStart();
Expand All @@ -125,7 +122,6 @@ describe('SecurityNavControlService', () => {
securityLicense: new SecurityLicenseService().setup({ license$ }).license,
authc: securityMock.createSetup().authc,
logoutUrl: '/some/logout/url',
cloud: cloudMock.createSetup(),
});

const coreStart = coreMock.createStart();
Expand All @@ -143,7 +139,6 @@ describe('SecurityNavControlService', () => {
securityLicense: new SecurityLicenseService().setup({ license$ }).license,
authc: securityMock.createSetup().authc,
logoutUrl: '/some/logout/url',
cloud: cloudMock.createSetup(),
});

const coreStart = coreMock.createStart();
Expand All @@ -166,7 +161,6 @@ describe('SecurityNavControlService', () => {
securityLicense: new SecurityLicenseService().setup({ license$ }).license,
authc: securityMock.createSetup().authc,
logoutUrl: '/some/logout/url',
cloud: cloudMock.createSetup(),
});

const coreStart = coreMock.createStart();
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/security/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
} from '../../../../src/plugins/home/public';
import { LicensingPluginSetup } from '../../licensing/public';
import { ManagementSetup, ManagementStart } from '../../../../src/plugins/management/public';
import { CloudSetup } from '../../cloud/public';
import {
ISessionTimeout,
SessionExpired,
Expand Down

0 comments on commit 5ea1bd1

Please sign in to comment.