I was writing jasmine test today and had to mock an knockout.js object result and to my surprise they were not equal although objects looked identical. After eliminating properties I narrowed it down to knockout.js observable. Below are two tests knockout one is failing while the one with function is successful.I was writing jasmine test today and had to moc