Code coverage report for simple/lib.js

Statements: 87.5% (7 / 8)      Branches: 100% (0 / 0)      Functions: 83.33% (5 / 6)      Lines: 87.5% (7 / 8)      Ignored: none     

All files » simple/ » lib.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 26 27 28 293   3     1       2       1       1       1              
console.log('Mostly Harmless');
 
module.exports = {
 
	answerToLifeTheUniverseAndEverything: function () {
		return 42;
	},
 
	whatToDo: function (phrase) {
		return (phrase == "don't panic");
	},
 
	allThereIs: function () {
		return 6 * 9;
	},
 
	worstFirstMillionYears: function () {
		return 10 + 10 + 10;
	},
 
	message: function () {
		console.log("So Long, and Thanks for All the Fish.");
	},
 
	startInfiniteImprobabilityDriver: function () {
		throw new Error("infinitely improbable");
	}
};