mocha-ui-bdd-meta
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

mocha-ui-bdd-meta

Mocha BDD UI with Metadata

Node.js CI

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 () {
      // ...
    });
  });
});

Readme

Keywords

none

Package Sidebar

Install

npm i mocha-ui-bdd-meta

Weekly Downloads

19

Version

0.0.10

License

ISC

Unpacked Size

13.8 kB

Total Files

9

Last publish

Collaborators

  • orieken