mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
Spaces - NP updates for usage collection and capabilities (#57693)
* remove kibanaIndex from LegacyAPI * moving capabilities, adding tests * moving usage collection * cleanup * don't toggle capabilities on unauthenticated routes * reintroduce exception handling * pipe dat config * start addressing PR feedback * fix CoreSetup's generic type * fix usage collector tests * PR review updates Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
3f7abe3c55
commit
91330d2493
23 changed files with 409 additions and 119 deletions
|
@ -28,7 +28,6 @@ const mockLogger = loggingServiceMock.createLogger();
|
|||
|
||||
const createService = async (serverBasePath: string = '') => {
|
||||
const legacyAPI = {
|
||||
legacyConfig: {},
|
||||
savedObjects: ({
|
||||
getSavedObjectsRepository: jest.fn().mockReturnValue({
|
||||
get: jest.fn().mockImplementation((type, id) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue