BigW Consortium Gitlab

user_mock_data_helper.js 402 Bytes
Newer Older
Clement Ho committed
1 2 3 4 5 6
export default {
  createNumberRandomUsers(numberUsers) {
    const users = [];
    for (let i = 0; i < numberUsers; i = i += 1) {
      users.push(
        {
7
          avatar: 'http://gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon',
Clement Ho committed
8 9 10 11 12 13 14 15 16
          id: (i + 1),
          name: `GitLab User ${i}`,
          username: `gitlab${i}`,
        },
      );
    }
    return users;
  },
};