Software creative always looking for a challenge

Posts Tagged: mocha.js

Comparing Object in Javascript

Compare Objects in Javascript Cover

As you start writing unit-test you will undoubtedly discover the challenges of comparing object in Javascript. In this short article we will look at how to do object comparison in Javascript to make our unit tests easier to work with. We will take a look at one popular unit-testing framework, Mocha.js, but the lessons here can be applied to other frameworks like QUnit and JSTestDriver as well.
More…