Code coverage report for ./../tap/lib/root.js

Statements: 88.24% (15 / 17)      Branches: 50% (4 / 8)      Functions: 100% (1 / 1)      Lines: 88.24% (15 / 17)      Ignored: none     

All files » ./../tap/lib/ » root.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 269   9 9   9     9   9 9   9       9 9 9   9 9 9 9  
var Test = require('./test.js')
 
var tap = new Test()
module.exports = tap
 
Iif (tap._timer && tap._timer.unref)
  tap._timer.unref()
 
tap._name = 'TAP'
 
process.on('exit', function (code) {
  tap.endAll()
 
  Iif (!tap._ok && code === 0)
    process.exit(1)
})
 
tap.pipe(process.stdout)
tap.plan = tap.plan.bind(tap)
tap.test = tap.test.bind(tap)
 
tap.mocha = require('./mocha.js')
tap.mochaGlobals = tap.mocha.global
tap.Test = Test
tap.synonyms = require('./synonyms.js')