<commit_before>/*
 * This file needs to be renamed as app.js when we want to run unit tests
 * in order this to get loaded by the jxcore ready event.
 * This effectively acts as main entry point to the unit test app
 */

"use strict";

var test = require('tape');
//var express = require('express');
var net = require('net');
var testUtils = require("./lib/testUtils");

testUtils.toggleRadios(true);

//var app = express();
//app.disable('x-powered-by');

var myName = "UNIT-TEST";
testUtils.setMyName(myName);

var failedRows = [];
var rows = [], total = 0, passed = 0, failed = 0;
/*
*/
require('./runTests.js');

// Log that the app.js file was loaded.
console.log('Test app app.js loaded');
<commit_msg>Remove cruft from unit test app<commit_after>/*
 * This file needs to be renamed as app.js when we want to run unit tests
 * in order this to get loaded by the jxcore ready event.
 * This effectively acts as main entry point to the unit test app
 */

"use strict";

var net = require('net');
var test = require('tape');
var testUtils = require("./lib/testUtils");

testUtils.toggleRadios(true);

var myName = "UNIT-TEST";
testUtils.setMyName(myName);

require('./runTests.js');
console.log('Test app app.js loaded');

{'fraction_non_alphanumeric': 0.14204081632653062, 'fraction_numerical': 0.0024489795918367346, 'mean_word_length': 4.045267489711934, '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': '2467756', 'n_tokens_mistral': 383, 'n_tokens_neox': 379, 'n_words': 149}