<commit_before>MOCHA=./node_modules/.bin/mocha
TESTS=tests/*.js

test:
	${MOCHA} -R tap ${TESTS}

BLANKET=--require blanket
travis-cov:
	NODE_ENV=test node_modules/.bin/mocha ${BLANKET} -R 'travis-cov' ${TESTS}

coveralls:
	NODE_ENV=test \
	./node_modules/.bin/mocha ${BLANKET} -R mocha-lcov-reporter \
     ${TESTS} | ./coverall.sh

coverhtml:
	./node_modules/.bin/mocha ${BLANKET} -R html-cov  ${TESTS} > test/coverage.html

precover:<commit_msg>tests exists, test does not<commit_after>MOCHA=./node_modules/.bin/mocha
TESTS=tests/*.js

test:
	${MOCHA} -R tap ${TESTS}

BLANKET=--require blanket
travis-cov:
	NODE_ENV=test node_modules/.bin/mocha ${BLANKET} -R 'travis-cov' ${TESTS}

coveralls:
	NODE_ENV=test \
	./node_modules/.bin/mocha ${BLANKET} -R mocha-lcov-reporter \
     ${TESTS} | ./coverall.sh

coverhtml:
	./node_modules/.bin/mocha ${BLANKET} -R html-cov  ${TESTS} > tests/coverage.html

precover:
{'fraction_non_alphanumeric': 0.17672886937431395, 'fraction_numerical': 0.0, 'mean_word_length': 3.9836065573770494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5635475', 'n_tokens_mistral': 392, 'n_tokens_neox': 383, 'n_words': 67}