iensu / mocha-cakes-2

A BDD plugin for Mocha testing framework
MIT License
43 stars 10 forks source link

New hooks breaks normal describe tests. #17

Closed CaptainJiNX closed 6 years ago

CaptainJiNX commented 6 years ago

If you run this with version 3.1.0, it will crash... 3.0.0 worked fine before.

'use strict';

describe('everything', () => {
  it('should work', () => {
    true.should.equal.true;
  });
});
iensu commented 6 years ago

Thank you for reporting and fixing this! Your fix has been merged and released, so closing this! :)

meis commented 6 years ago

Quite ashamed this happened, thanks for fixing it, @CaptainJiNX !

CaptainJiNX commented 6 years ago

No need to be ashamed, it was just a simple bug. :)

iensu commented 6 years ago

@meis, not on you. I should have checked the PR better. Thought I had things covered in the tests 🤦‍♂️