{"size": 439, "ext": "js", "max_stars_repo_path": "test/parsers.js", "max_stars_repo_name": "Innablr/aws-idler", "max_stars_repo_stars_event_min_datetime": "2020-06-15T00:48:37.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-15T00:48:37.000Z", "max_issues_repo_path": "test/parsers.js", "max_issues_repo_name": "Innablr/aws-idler", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/parsers.js", "max_forks_repo_name": "Innablr/aws-idler", "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": 27.4375, "max_line_length": 52, "alphanum_fraction": 0.6195899772}
const getParser = require('../plugins/parsers/all');
const expect = require('chai').expect;

describe('getParser', function() {
    it('Supports strict parser', function() {
        const strict = getParser('strict');
        expect(strict).to.be.a('function');
    });

    it('Throws unsupported parsers', function() {
        expect(() => getParser('blarg')).to.throw();
    });
});

const parserStrict = require('./parserStrict/all');
