debian-mirror-gitlab/spec/frontend/sidebar/user_data_mock.js
2020-01-01 13:55:28 +05:30

11 lines
242 B
JavaScript

import { TEST_HOST } from 'helpers/test_constants';
export default () => ({
avatar_url: `${TEST_HOST}/avatar/root.png`,
id: 1,
name: 'Root',
state: 'active',
username: 'root',
web_url: `${TEST_HOST}/root`,
can_merge: true,
});