A Qunitjs with color log for node dev.
Install the module with: npm i qunit-color
var $$Q = require('qunit-color');
$$Q.module( "testProjectName: qunit-color");
$$Q.test('unitName: main', function (assert) {
assert.ok(true, 'true');
assert.ok(false, 'false');
assert.deepEqual('aa bb cc dd','kk cc bb ee ff', 'str diff');
});
$$Q.load();
Not show result and expect log:
$$Q = require('qunit-color').setColorConf({
onlyDiff : true
});
--
Licensed under the MIT license.