<commit_before>import test from 'ava';
import fn from './';

test(t => {
	process.chdir('fixture');
	t.regexTest(/fixture\/fixture\.js$/, fn('./fixture'));
	t.is(fn('./fixture2'), null);
});<commit_msg>update for latest AVA<commit_after>import test from 'ava';
import m from './';

test(t => {
	process.chdir('fixture');
	t.regex(m('./fixture'), /fixture\/fixture\.js$/);
	t.is(m('./fixture2'), null);
});
{'fraction_non_alphanumeric': 0.2617283950617284, 'fraction_numerical': 0.0049382716049382715, 'mean_word_length': 4.486486486486487, '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': '4237654', 'n_tokens_mistral': 156, 'n_tokens_neox': 152, 'n_words': 29}