<commit_before>/*jshint node:true */
"use strict";
var qunit = require("qunit"),
	absPath = (function () {
		var joinPaths = require("path").join;
		return function (relPath) {
			return joinPaths(__dirname, relPath);
		};
	}());

qunit.options.deps = [{
	path: absPath("../node_modules/underscore/underscore.js"),
	namespace: "_"
}, {
	path: absPath("../node_modules/backbone/backbone.js"),
	namespace: "Backbone"
}];

qunit.run({
	code: { path: absPath("../backbone.faux.server.js"), namespace: "fauxServer" },
	tests: [absPath("test.js")]
});<commit_msg>Now exiting with > 0 on test-suite failure. fixes #2<commit_after>/*jshint node:true */
"use strict";
var qunit = require("qunit"),
	absPath = (function () {
		var joinPaths = require("path").join;
		return function (relPath) {
			return joinPaths(__dirname, relPath);
		};
	}());

qunit.options.deps = [{
	path: absPath("../node_modules/underscore/underscore.js"),
	namespace: "_"
}, {
	path: absPath("../node_modules/backbone/backbone.js"),
	namespace: "Backbone"
}];

qunit.run({
	code: { path: absPath("../backbone.faux.server.js"), namespace: "fauxServer" },
	tests: [absPath("test.js")]
}, function (error, stats) {
	if (error) {
        console.error(new Error(error));
        process.exit(1);
        return;
    }
    process.exit(stats.failed > 0 ? 1 : 0);
});
{'fraction_non_alphanumeric': 0.20105421686746988, 'fraction_numerical': 0.004518072289156626, 'mean_word_length': 4.1312741312741315, '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': '723088', 'n_tokens_mistral': 492, 'n_tokens_neox': 471, 'n_words': 89}