Sha256: f0a2a861b33bdc0b034b5d19d7f96bd60034c1c41eff2781b63cb7fa29d1cd06

Contents?: true

Size: 705 Bytes

Versions: 6

Compression:

Stored size: 705 Bytes

Contents

require.paths.push(__dirname + "/lib");
require.paths.push("./");

var sys = require('sys');
var jasmine = require('jasmine');

for(var key in jasmine) {
  global[key] = jasmine[key];
}

var isVerbose = false;
var showColors = true;
var dir = __dirname;
process.argv.forEach(function(arg){
  switch(arg) {
  case '--color': showColors = true; break;
  case '--noColor': showColors = false; break;
  case '--verbose': isVerbose = true; break;
  default: dir = arg; break;
  }
});


jasmine.executeSpecsInFolder(dir + '/spec', function(runner, log) {
	// Cannot call process.exit, standard out and standard error do not get flushed
	// process.exit(runner.results().failedCount);
}, isVerbose, showColors);

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loris-0.2.3 lib/jasmine-node/specs.js
loris-0.2.2 lib/jasmine-node/specs.js
loris-0.2.1 lib/jasmine-node/specs.js
loris-0.2.0 lib/jasmine-node/specs.js
loris-0.1.7 lib/jasmine-node/specs.js
loris-0.1.5 lib/jasmine-node/specs.js