2021-01-14 15:10:46 +00:00
|
|
|
export * from './api/groups_api';
|
|
|
|
export * from './api/projects_api';
|
|
|
|
export * from './api/user_api';
|
2021-06-07 09:10:26 +00:00
|
|
|
export * from './api/markdown_api';
|
2021-10-04 15:12:14 +00:00
|
|
|
export * from './api/bulk_imports_api';
|
2021-11-03 09:10:11 +00:00
|
|
|
export * from './api/namespaces_api';
|
2022-05-02 03:08:36 +00:00
|
|
|
export * from './api/tags_api';
|
2022-06-10 09:11:12 +00:00
|
|
|
export * from './api/alert_management_alerts_api';
|
2022-09-01 18:09:55 +00:00
|
|
|
export * from './api/harbor_registry';
|
2021-01-14 15:10:46 +00:00
|
|
|
|
|
|
|
// Note: It's not possible to spy on methods imported from this file in
|
2021-09-15 12:11:13 +00:00
|
|
|
// Jest tests.
|
2021-01-14 15:10:46 +00:00
|
|
|
// As a workaround, in Jest tests, import the methods from the file
|
|
|
|
// in which they are defined:
|
|
|
|
//
|
|
|
|
// import * as UserApi from '~/api/user_api';
|
|
|
|
// vs...
|
|
|
|
// import * as UserApi from '~/rest_api';
|
|
|
|
//
|
|
|
|
// // This will only work with option #2 above.
|
|
|
|
// jest.spyOn(UserApi, 'getUsers')
|