Code coverage report for simple/mocha/test3.js

Statements: 100% (6 / 6)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (6 / 6)      Ignored: none     

All files » simple/mocha/ » test3.js
1 2 3 4 5 6 7 8 9 10 111 1   1 1     1 1    
var assert = require('assert');
var lib = require('../lib');
 
it('should not panic', function () {
	assert.ok(lib.whatToDo("don't panic"));
});
 
it('should panic', function () {
	assert.ok(!lib.whatToDo("do not panic"));
});