/*
 * 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');

@@ -218,19 +218,18 @@
 %22;%0A%0Avar 
-tes
+ne
 t = requ
@@ -237,58 +237,22 @@
 re('
-tape
+net
 ');%0A
-//
 var 
-express = require('express');%0Avar ne
+tes
 t = 
@@ -252,35 +252,36 @@
 test = require('
-net
+tape
 ');%0Avar testUtil
@@ -348,63 +348,8 @@
 );%0A%0A
-//var app = express();%0A//app.disable('x-powered-by');%0A%0A
 var 
@@ -404,151 +404,33 @@
 );%0A%0A
-var failedRows = %5B%5D;%0Avar rows = %5B%5D, total = 0, passed = 0, failed = 0;%0A/*%0A*/%0Arequire('./runTests.js');%0A%0A// Log that the app.js file was loaded.
+require('./runTests.js');
 %0Acon

Remove cruft from unit test app