https://www.hacksparrow.com/scripting-a-node-js-app.html
Here's a hack to work around it if you need access to the console object.
Decorate the Harness with the console object.
Harness.configure({
title : 'Cross-platform Test Suite',
testClass : testClass,
console : console,
preload : [
'preload/preload.js'
]
})
StartTest(function(t) {
t.harness.console.log('foo');
t.is(1, 1, 'Correct')
})