{"size": 439, "ext": "js", "max_stars_repo_path": "__tests__/index.text.js", "max_stars_repo_name": "oui-qln/Nav_Module", "max_stars_repo_stars_event_min_datetime": "2019-02-22T18:01:43.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-22T18:01:43.000Z", "max_issues_repo_path": "__tests__/index.text.js", "max_issues_repo_name": "oui-qln/Nav_Module", "max_issues_repo_issues_event_min_datetime": "2019-02-20T18:52:16.000Z", "max_issues_repo_issues_event_max_datetime": "2019-02-20T18:52:16.000Z", "max_forks_repo_path": "__tests__/index.text.js", "max_forks_repo_name": "oui-qln/Nav_Module", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 21.95, "max_line_length": 55, "alphanum_fraction": 0.5876993166}
const app = require('../server/index.js');
const request = require('supertest');


describe('The server should be defined', ()=> {
  test('The server should be defined' , () => {
    expect(app).toBeDefined();
  });
})

describe('GET /api/search', () => {
  test('It should response the GET method', (done) => {
    return request(app).get("/").then(response => {
      expect(response.statusCode).toBe(200)
      done();
    })
  });
})

