yadda
Version:
A true BDD framework for JavaScript
9 lines (6 loc) • 327 B
JavaScript
var Yadda = require('yadda');
var library = require('./lib/bottles-library');
new Yadda.createInstance(library).run(['Given 100 green bottles are standing on the wall', 'when 1 green bottle accidentally falls', 'then there are 99 green bottles standing on the wall'], function (err) {
if (err) throw err;
});
;