debian-mirror-gitlab/spec/frontend/sidebar/user_data_mock.js

15 lines
313 B
JavaScript
Raw Normal View History

2020-01-01 13:55:28 +05:30
import { TEST_HOST } from 'helpers/test_constants';
2019-12-04 20:38:33 +05:30
export default () => ({
2020-01-01 13:55:28 +05:30
avatar_url: `${TEST_HOST}/avatar/root.png`,
2019-12-04 20:38:33 +05:30
id: 1,
name: 'Root',
state: 'active',
username: 'root',
2020-01-01 13:55:28 +05:30
web_url: `${TEST_HOST}/root`,
2019-12-04 20:38:33 +05:30
can_merge: true,
2021-03-11 19:13:27 +05:30
can_update_merge_request: true,
reviewed: true,
2021-04-17 20:07:23 +05:30
approved: false,
2019-12-04 20:38:33 +05:30
});