javascript - Issue with mocha tests with should.js -


i have following code (mocha test should.js):

it('must not valid empty object', function (done) {   var result = {};   result.should.not.be.object; }); 

it passes, although result object. passes result.should.be.object.

looking @ documentation, need capitalize object on line.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -