Sha256: 9a71e30883a79654437ff2a4de73e4e71de1f0553d3527753d8dd8233de0d36a

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

process.mixin(require('sys'))
require.paths.unshift('spec', 'JSPEC_ROOT/lib', 'lib')
require('jspec')
require('unit/spec.helper')
require('yourlib')

quit = process.exit
print = puts

readFile = function(path) {
  var result
  require('posix')
    .cat(path, "utf8")
    .addCallback(function(contents){ result = contents })
    .addErrback(function(){ throw new Error("failed to read file `" + path + "'") })
    .wait()
  return result
}

JSpec
  .exec('spec/unit/spec.js')
  .run({ reporter: JSpec.reporters.Terminal })
  .report()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jspec-3.1.2 templates/default/spec/node.js
jspec-3.1.1 templates/default/spec/node.js
jspec-3.1.0 templates/default/spec/node.js