UNPKG

doubleshot

Version:

Run separated BDD outlines and content on top of mocha

13 lines 229 B
module.exports = { 'One': function () { this.sum = 1; }, 'plus one': function () { this.sum += 1; }, 'equals two': function () { if (this.sum !== 2) { throw new Error(this.sum + ' !== 2'); } } };