I'm using Chai + chai-as-promised with Mocha runner.
By simple Chai, the extension with own assertions works like this:
http://chaijs.com/api/plugins/#addProperty-section
How should it look by using chai-as-promised?
I'm using Chai + chai-as-promised with Mocha runner.
By simple Chai, the extension with own assertions works like this:
http://chaijs.com/api/plugins/#addProperty-section
How should it look by using chai-as-promised?