{"size": 394, "ext": "js", "max_stars_repo_path": "test/utils.js", "max_stars_repo_name": "Ethiopia-COVID19/api-gateway", "max_stars_repo_stars_event_min_datetime": "2020-03-30T23:22:12.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-14T04:48:24.000Z", "max_issues_repo_path": "test/utils.js", "max_issues_repo_name": "Ethiopia-COVID19/api-gateway", "max_issues_repo_issues_event_min_datetime": "2020-03-29T14:04:09.000Z", "max_issues_repo_issues_event_max_datetime": "2020-04-21T04:36:35.000Z", "max_forks_repo_path": "test/utils.js", "max_forks_repo_name": "SamAsEnd/api-gateway", "max_forks_repo_forks_event_min_datetime": "2020-04-26T10:59:28.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-09T08:04:22.000Z"}
{"max_stars_count": 5, "max_issues_count": 16, "max_forks_count": 7, "avg_line_length": 17.1304347826, "max_line_length": 72, "alphanum_fraction": 0.5253807107}
'use strict';

const sinon = require('sinon');

module.exports = {
  event: (type) => {
    return {
      pathParameters: {
        type: type
      },
      body: '{"name":"Micheal Jackson","description": "Awesome Singer"}'
    };
  },
  context: {},
  stubAWS: (returnValue) => {
    return {
      DynamoDB: {
        DocumentClient: sinon.stub().returns(returnValue)
      }
    };
  }
};
