{"size": 609, "ext": "js", "max_stars_repo_path": "src/reducers/tap/helpers.js", "max_stars_repo_name": "Sawtaytoes/Ghadyani-Framework-Playground", "max_stars_repo_stars_event_min_datetime": "2017-10-08T13:34:19.000Z", "max_stars_repo_stars_event_max_datetime": "2017-12-13T07:45:48.000Z", "max_issues_repo_path": "src/reducers/tap/helpers.js", "max_issues_repo_name": "Sawtaytoes/Ghadyani-Framework-Playground", "max_issues_repo_issues_event_min_datetime": "2017-10-08T16:25:37.000Z", "max_issues_repo_issues_event_max_datetime": "2017-10-08T16:25:37.000Z", "max_forks_repo_path": "src/reducers/tap/helpers.js", "max_forks_repo_name": "Sawtaytoes/Ghadyani-Framework-Playground", "max_forks_repo_forks_event_min_datetime": "2017-10-08T15:44:28.000Z", "max_forks_repo_forks_event_max_datetime": "2017-12-13T07:46:09.000Z"}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": 3, "avg_line_length": 21.0, "max_line_length": 71, "alphanum_fraction": 0.5927750411}
export const tapColor = {
	fail: 'crimson',
	info: 'dimgrey',
	pass: 'green',
}

export const tapMessageType = {
	header: 'header',
	pass: 'pass',
	fail: 'fail',
}

export const tapStatus = {
	running: 'running',
	done: 'done',
}

export const tapParsers = {
	header: /^()(.+)$/,
	failure: /^((\s{4}(operator|expected|actual|stack):)|\s{6})[ ]*(.+)$/,
	message: /^((ok|not ok|(# (ok|tests|pass|fail)?))[ ]*)(.+)$/,
	start: /^TAP version \d+$/,
	test: /^(\d+)[ ](.+)$/,
}

export const isDoneProcessing = status => status === tapStatus.done

export const isSuccessfulEndMessage = message => message === '# ok'
