<commit_before>
test: mocha lint

mocha:
	@NODE_ENV=test ./node_modules/.bin/mocha --harmony-async-await $(MOCHA_OPTS)

lint:
	@ find . -name "*.js" \
		-not -path "./node_modules/*" \
		-not -path "./coverage/*" -print0 | \
		xargs -0 ./node_modules/eslint/bin/eslint.js --quiet

test-cov: lint
	@NODE_ENV=test node $(MOCHA_OPTS) \
		node_modules/.bin/istanbul cover \
		./node_modules/.bin/_mocha \
		-- -u exports<commit_msg>remove harmony flag<commit_after>
test: mocha lint

mocha:
	@NODE_ENV=test ./node_modules/.bin/mocha $(MOCHA_OPTS)

lint:
	@ find . -name "*.js" \
		-not -path "./node_modules/*" \
		-not -path "./coverage/*" -print0 | \
		xargs -0 ./node_modules/eslint/bin/eslint.js --quiet

test-cov: lint
	@NODE_ENV=test node $(MOCHA_OPTS) \
		node_modules/.bin/istanbul cover \
		./node_modules/.bin/_mocha \
		-- -u exports
{'fraction_non_alphanumeric': 0.18095238095238095, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 2.8227272727272728, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '991721', 'n_tokens_mistral': 366, 'n_tokens_neox': 342, 'n_words': 68}