twolfson / doubleshot

Run separated BDD outlines and content on Mocha
MIT License
1 stars 0 forks source link

Cannot chain `after` methods #33

Closed twolfson closed 11 years ago

twolfson commented 11 years ago

Hook objects cannot be chained currently but they definitely should be able to.

module.exports = {
  'One': [{
    after: function () {
      console.log('afterAll1');
    }
  }, {
    after: function () {
      console.log('afterAll2');
    }
  }],
  ...
};
twolfson commented 11 years ago

Released in 2.12.0.