{"size": 663, "ext": "js", "max_stars_repo_path": "__tests__/Engineer.test.js", "max_stars_repo_name": "brob92993/TeamProfileGen", "max_stars_repo_stars_event_min_datetime": "2021-07-06T13:05:42.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-06T13:05:42.000Z", "max_issues_repo_path": "__tests__/Engineer.test.js", "max_issues_repo_name": "brob92993/TeamProfileGen", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "__tests__/Engineer.test.js", "max_forks_repo_name": "brob92993/TeamProfileGen", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.15, "max_line_length": 70, "alphanum_fraction": 0.6349924585}
const Engineer = require('../lib/Engineer');


it("Can set the Github account via the constructor", () => {
    const testValue = "GithubUser";
    const e = new Engineer("Brian", 1, "test@test.com", testValue);
    expect(e.github).toBe(testValue);
});

it("getRole() should return \"Engineer\"", ()=> {
    const testValue = "Engineer";
    const e = new Engineer("Brian", 1, "test@test.com", "GithubUser");
    expect(e.getRole()).toBe(testValue);
})

it("can get the Github username from getGithub()", () =>{
    const testValue = "GithubUser";
    const e = new Engineer ("Brian", 1, "test@test.com", testValue);
    expect(e.getGithub()).toBe(testValue);
})