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
Post a Comment