all files / src/app/utils/ github.service.mocks.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70                                                                                                                                   
/* eslint-disable camelcase */
export const MOCK_REPOS = {
  contributors_url: "https://api.github.com/repos/angular/angular/contributors",
  created_at: "2014-09-18T16:12:01Z",
  description: null,
  forks_count: 5025,
  full_name: "angular/angular",
  has_issues: true,
  homepage: "https://angular.io",
  html_url: "https://github.com/angular/angular",
  language: "TypeScript",
  name: "angular",
  open_issues_count: 966,
  stargazers_count: 19341,
  updated_at: "2016-12-30T18:31:35Z"
};
 
export const MOCK_CONTRIBUTORS = [{
  avatar_url: "https://avatars.githubusercontent.com/u/35996?v=3",
  contributions: 932,
  login: "vsavkin",
  type: "User"
}, {
  avatar_url: "https://avatars.githubusercontent.com/u/248818?v=3",
  contributions: 650,
  login: "vicb",
  type: "User"
}];
 
export const MOCK_USER = {
  avatar_url: "https://avatars.githubusercontent.com/u/139426?v=3",
  company: null,
  created_at: "2009-10-13T22:16:19Z",
  following_url: "https://api.github.com/users/angular/following{/other_user}",
  gists_url: "https://api.github.com/users/angular/gists{/gist_id}",
  html_url: "https://github.com/angular",
  login: "angular",
  name: "Angular",
  public_repos: 164,
  repos_url: "https://api.github.com/users/angular/repos",
  type: "Organization",
  updated_at: "2016-11-14T21:31:12Z"
};
 
export const MOCK_USER_REPOS = [{
  created_at: "2010-01-06T00:34:37Z",
  description: "HTML enhanced for web apps",
  forks_count: 26850,
  full_name: "angular/angular.js",
  has_issues: true,
  homepage: "http://angularjs.org",
  language: "JavaScript",
  name: "angular.js",
  open_issues_count: 853,
  stargazers_count: 54122,
  updated_at: "2016-12-30T22:52:02Z"
}, {
  created_at: "2014-09-18T16:12:01Z",
  description: null,
  forks_count: 5025,
  full_name: "angular/angular",
  has_issues: true,
  homepage: "https://angular.io",
  language: "TypeScript",
  name: "angular",
  open_issues_count: 968,
  stargazers_count: 19344,
  updated_at: "2016-12-30T22:30:32Z"
}];