<commit_before>const createFormattingOptions = require('../edge/createFormattingOptions')
const formattingOptionSchema = require('../edge/formattingOptionSchema.json')

describe('createFormattingOptions', () => {
	it('returns the default formatting options given an empty object', () => {
		expect(Object.keys(createFormattingOptions())).toEqual(Object.keys(formattingOptionSchema))
	})

	it('returns the default value given `undefined`', () => {
		expect(createFormattingOptions().insertColons).toBe(formattingOptionSchema.insertColons.default)
	})
<commit_msg>Fixed wrong path to formatting option schema<commit_after>const createFormattingOptions = require('../edge/createFormattingOptions')

describe('createFormattingOptions', () => {
	it('returns the default formatting options given an empty object', () => {
		expect(Object.keys(createFormattingOptions())).toEqual(Object.keys(createFormattingOptions.schema))
	})

	it('returns the default value given `undefined`', () => {
		expect(createFormattingOptions().insertColons).toBe(createFormattingOptions.schema.insertColons.default)
	})

{'fraction_non_alphanumeric': 0.1354071363220494, 'fraction_numerical': 0.0, 'mean_word_length': 7.682539682539683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '340310', 'n_tokens_mistral': 295, 'n_tokens_neox': 284, 'n_words': 51}