0.0.10 • Published 3 years ago
mocha-ui-bdd-meta v0.0.10
mocha-ui-bdd-meta
Mocha BDD UI with Metadata
BDD-style interface with meta:
describe('Array', { foo: 'bar' }, function () {
describe('#indexOf()', { baz: 'buz' }, function () {
it('should return -1 when not present', { bux: 'bex' }, function () {
this.meta //? {foo: 'bar', baz: 'buz', bux: 'bex'}
// ...
});
it('should return the index when present', function () {
// ...
});
});
});