<commit_before><commit_msg>add basic Moon instance tests<commit_after>import Moon from "../src/index";

/*test("root Moon instance", () => {
	const instance = new Moon({ root: "test", view: "" });
	expect(instance.constructor.name).toBe("Function");
	expect(instance.name).toBe("Root");
});*/

test("root Moon constructor", () => {
	const Root = new Moon({ view: "" });
	expect(Root.constructor.name).toBe("Function");
	expect(new Root().name).toBe("Root");
});
{'fraction_non_alphanumeric': 0.22342733188720174, 'fraction_numerical': 0.0, 'mean_word_length': 5.695652173913044, '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': '4900351', 'n_tokens_mistral': 138, 'n_tokens_neox': 137, 'n_words': 31}