toEqual()
is what one would use to compare two objects in jasmine tests, right? i am puzzled as to why i am getting the following error in my test:
Expected StoreExcludes({ id: 1, location: 'TK-LV', storeNumber: 10, name: 'RIGA', ranking-level-1: true, ranking-level-2: true, all: true }) to equal Object({ id: 1, location: 'TK-LV', storeNumber: 10, name: 'RIGA', ranking-level-1: true, ranking-level-2: true, all: true }).
any ideas?