debian-mirror-gitlab/app/assets/javascripts/rest_api.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
750 B
JavaScript
Raw Normal View History

2021-03-08 18:12:59 +05:30
export * from './api/groups_api';
export * from './api/projects_api';
export * from './api/user_api';
2021-09-04 01:27:46 +05:30
export * from './api/markdown_api';
2021-11-18 22:05:49 +05:30
export * from './api/bulk_imports_api';
2021-12-11 22:18:48 +05:30
export * from './api/namespaces_api';
2022-07-16 23:28:13 +05:30
export * from './api/tags_api';
2022-07-23 23:45:48 +05:30
export * from './api/alert_management_alerts_api';
2022-10-11 01:57:18 +05:30
export * from './api/harbor_registry';
2023-04-23 21:23:45 +05:30
export * from './api/environments_api';
2021-03-08 18:12:59 +05:30
// Note: It's not possible to spy on methods imported from this file in
2021-11-11 11:23:49 +05:30
// Jest tests.
2021-03-08 18:12:59 +05:30
// 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')