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

12 lines
242 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,
});