Sha256: 0121db58a1c63ce8438b1fad9224d9b3ac40185e9f34fd7a09bc0ff7bf599a0b

Contents?: true

Size: 329 Bytes

Versions: 10

Compression:

Stored size: 329 Bytes

Contents

var options = { tail: '\n', raw: true };
var console = require('../../vows/console');
var puts = console.puts(options);

//
// Console JSON reporter
//
this.name = 'json';
this.setStream = function (s) {
    options.stream = s;
};
this.report = function (obj) {
    puts(JSON.stringify(obj));
};

this.print = function (str) {};

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vulcan-0.3.0 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.6 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.5 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.4 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.3 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.2 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.1 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.1.0 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.0.3 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js
vulcan-0.0.2 server/node_modules/cradle/node_modules/vows/lib/vows/reporters/json.js