<commit_before>var gulp = require('gulp');
var mocha = require('gulp-mocha');
var istanbul = require('gulp-istanbul');
var sources = require('../config/sources');
var options = require('../config/options').istanbul;

module.exports = function (callback) {
	'use strict';

	return gulp.src(sources.js)
			.pipe(istanbul())
			.on('finish', function () {
				gulp.src(sources.test)
					.pipe(mocha())
					.pipe(istanbul.writeReports(options))
					.on('end', callback);
			});
};<commit_msg>removed return on mocha task<commit_after>var gulp = require('gulp');
var mocha = require('gulp-mocha');
var istanbul = require('gulp-istanbul');
var sources = require('../config/sources');
var options = require('../config/options').istanbul;

module.exports = function (callback) {
	'use strict';

	gulp.src(sources.js)
		.pipe(istanbul())
		.on('finish', function () {
			gulp.src(sources.test)
				.pipe(mocha())
				.pipe(istanbul.writeReports(options))
				.on('end', callback);
		});
};
{'fraction_non_alphanumeric': 0.1953204476093591, 'fraction_numerical': 0.0, 'mean_word_length': 4.318918918918919, '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': '215080', 'n_tokens_mistral': 372, 'n_tokens_neox': 331, 'n_words': 63}