-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Export plugin mocks #38679
Copy link
Copy link
Closed
Labels
Feature:New PlatformTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//chore
Metadata
Metadata
Assignees
Labels
Feature:New PlatformTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//chore
Type
Fields
Give feedbackNo fields configured for issues without a type.
At the moment we export only mock for core services. Plugin authors have to combine them manually to be able to use in tests.
kibana/src/legacy/core_plugins/embeddable_api/public/np_core.test.mocks.ts
Line 26 in c7349fe
src/core/public/mocksandsrc/core/server/mocksshould export mocks forCoreSetup & CoreStartinterfaces ready to use in their plugins.