{"size": 833, "ext": "js", "max_stars_repo_path": "__tests__/Engineer.test.js", "max_stars_repo_name": "JustinWeicht/10-team-profile-generator", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "__tests__/Engineer.test.js", "max_issues_repo_name": "JustinWeicht/10-team-profile-generator", "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": "JustinWeicht/10-team-profile-generator", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 37.8636363636, "max_line_length": 92, "alphanum_fraction": 0.6722689076}
const Engineer = require('../lib/Engineer')

test('create engineer object', () => {
    const engineer = new Engineer ('Some One', '123', 'someone@mail.com', 'somegitusername')
    
    expect(engineer.name).toBe('Some One');
    expect(engineer.id).toBe('123');
    expect(engineer.email).toBe('someone@mail.com');
    expect(engineer.github).toBe('somegitusername');
});

test ("user's engineer github username input", () => {
    const engineer = new Engineer ('Some One', '123', 'someone@mail.com', 'somegitusername')

    expect(engineer.getGithub()).toEqual(expect.stringContaining('somegitusername'));
});

test("user's engineer's role input", () => {
    const engineer = new Engineer ('Some One', '123', 'someone@mail.com', 'somegitusername')

    expect(engineer.getRole()).toEqual(expect.stringContaining('Engineer'));
});