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

test('domLoaded is a function', t => {
	t.is(typeof domLoaded, 'function');
});<commit_msg>Test domLoaded returns a Promise<commit_after>import test from 'ava';
import domLoaded from '../';

test('domLoaded is a function', t => {
	t.is(typeof domLoaded, 'function');
});

test('domLoaded returns a Promise', t => {
	t.true(domLoaded() instanceof Promise);
});
{'fraction_non_alphanumeric': 0.17289719626168223, 'fraction_numerical': 0.0, 'mean_word_length': 5.402985074626866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6148639', 'n_tokens_mistral': 131, 'n_tokens_neox': 130, 'n_words': 42}