{"size": 364, "ext": "js", "max_stars_repo_path": "projects/weather-journal-app/__tests__/data_scheme.test.js", "max_stars_repo_name": "samadarshad/fend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "projects/weather-journal-app/__tests__/data_scheme.test.js", "max_issues_repo_name": "samadarshad/fend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "projects/weather-journal-app/__tests__/data_scheme.test.js", "max_forks_repo_name": "samadarshad/fend", "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": 40.4444444444, "max_line_length": 70, "alphanum_fraction": 0.6675824176}
const ds = require('../shared/data_scheme.js');

test('shared data scheme', () => {
    const newData = new ds.dataScheme(25, "1/2/2020", "happy", 12345);
    expect(newData.temperatureDegreesCelcius).toBe(25);
    expect(newData.date).toBe("1/2/2020");
    expect(newData.user_input).toBe("happy");
    expect(newData.location).toStrictEqual({zip: 12345})    
});