<commit_before>
describe('Mocha', function () {

	require("../../../lib/Approvals")
        .configure({
            errorOnStaleApprovedFiles: false
        })
        .mocha(__dirname);

    describe('when verifying some basic text', function () {
        it('should work', function () {

            this.verify("Hello World!");

        });

        it('should verifyAsJSON', function () {

            var value = {a:1, b:"bar"};

            this.verifyAsJSON(value);

        });        
    });
});<commit_msg>hack fix for tests failing due to global state<commit_after>
describe('Mocha', function () {

    describe('when verifying some basic text', function () {

				require("../../../lib/Approvals")
							.configure({
									errorOnStaleApprovedFiles: false
							})
				.mocha(__dirname);

        it('should work', function () {

            this.verify("Hello World!");

        });

        it('should verifyAsJSON', function () {

            var value = {a:1, b:"bar"};

            this.verifyAsJSON(value);

        });
    });
});
{'fraction_non_alphanumeric': 0.16477272727272727, 'fraction_numerical': 0.001893939393939394, 'mean_word_length': 1.919889502762431, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7131001', 'n_tokens_mistral': 334, 'n_tokens_neox': 278, 'n_words': 62}