{"size": 362, "ext": "js", "max_stars_repo_path": "test/unit/criteriaPoints/accreditedInCommunityLanguagePoints.js", "max_stars_repo_name": "olliecaine27/aus-immigration", "max_stars_repo_stars_event_min_datetime": "2018-02-01T02:10:56.000Z", "max_stars_repo_stars_event_max_datetime": "2018-02-01T02:10:56.000Z", "max_issues_repo_path": "test/unit/criteriaPoints/accreditedInCommunityLanguagePoints.js", "max_issues_repo_name": "olliecaine27/australian-immigration", "max_issues_repo_issues_event_min_datetime": "2018-05-03T15:34:16.000Z", "max_issues_repo_issues_event_max_datetime": "2018-05-03T15:35:12.000Z", "max_forks_repo_path": "test/unit/criteriaPoints/accreditedInCommunityLanguagePoints.js", "max_forks_repo_name": "olliecaine27/australian-immigration", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 27.8461538462, "max_line_length": 80, "alphanum_fraction": 0.6906077348}
import {assert} from 'chai';
import {accreditedInCommunityLanguagePoints} from '../../../src/criteriaPoints';

describe('accreditedInCommunityLanguagePoints', () => {
	describe('Accredited in a community language', () => {
		it('Should return 5 points', () => {
			let result = accreditedInCommunityLanguagePoints(true);

			assert.equal(result, 5);
		})
	})
})
