Optimize security entry bundle (#135586)

* shuffle imports

* more import shuffling

* update limits.yml

* Undo unnecessary changes
This commit is contained in:
Larry Gregory 2022-06-30 15:37:31 -04:00 committed by GitHub
parent 27f3bf7a13
commit 1da2c23773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View file

@ -52,7 +52,7 @@ pageLoadAssetSize:
savedObjectsTagging: 59482
savedObjectsTaggingOss: 20590
searchprofiler: 67080
security: 115240
security: 65433
snapshotRestore: 79032
spaces: 57868
telemetry: 51957

View file

@ -16,7 +16,7 @@ import { UserAPIClient } from '../management';
import { securityMock } from '../mocks';
import { accountManagementApp } from './account_management_app';
import * as AccountManagementPageImports from './account_management_page';
import { UserProfileAPIClient } from './user_profile';
import { UserProfileAPIClient } from './user_profile/user_profile_api_client';
const AccountManagementPageMock = jest
.spyOn(AccountManagementPageImports, 'AccountManagementPage')

View file

@ -16,8 +16,8 @@ import { UserAPIClient } from '../management';
import { securityMock } from '../mocks';
import { Providers } from './account_management_app';
import { AccountManagementPage } from './account_management_page';
import { UserProfileAPIClient } from './user_profile';
import * as UserProfileImports from './user_profile/user_profile';
import { UserProfileAPIClient } from './user_profile/user_profile_api_client';
const UserProfileMock = jest.spyOn(UserProfileImports, 'UserProfile');

View file

@ -6,4 +6,4 @@
*/
export { accountManagementApp } from './account_management_app';
export { UserProfileAPIClient } from './user_profile';
export { UserProfileAPIClient } from './user_profile/user_profile_api_client';

View file

@ -8,4 +8,3 @@
export { UserProfile } from './user_profile';
export type { UserProfileProps, UserProfileFormValues } from './user_profile';
export { UserProfileAPIClient } from './user_profile_api_client';