prodatakey / dirty-chai

Extends Chai with lint-friendly terminating assertions
225 stars 18 forks source link

Not not working #37

Open furstenheim opened 6 years ago

furstenheim commented 6 years ago

Hi, cool library.

I'm not able to make it work with not:

chai.expect(1).to.be.false() AssertionError: expected 1 to be false

chai.expect(1).to.be.not.false() TypeError: chai.expect(...).to.be.not.false is not a function

I'm using chai 4.1.2 and dirty-chai 2.0.1

thanks

furstenheim commented 6 years ago

exist seems to not be working as well

chai.expect(1).to.exist() TypeError: chai.expect(...).to.exist is not a function