Incorrect failure in Karma test

karma

#1

Hi all,

I’m seeing a bug in our Karma tests:

Here is our project:
https://circleci.com/gh/keen/keen-dashboards/204?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

There is a deepEqual assertion that is failing on circle ci, but passing locally on several machiens. Here is the message:

Chrome 43.0.2357 (Linux 0.0.0) LOG: 'not ok 15 should be equivalent’
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ —'
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ operator: deepEqual’
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ expected: |-'
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ { activeDashboard: null, activeOriginal: null, appIsSaving: false, dashboards: { abc: { id: ‘abc’, rows: [ {}, { tiles: [Object] } ] } }, hasUnsavedChanges: true, savedQueries: [], viewerIsActive: true }'
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ actual: |-'
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ { activeDashboard: null, activeOriginal: null, appIsSaving: false, dashboards: { abc: { id: ‘abc’, rows: [ {}, { tiles: [Object] } ] } }, hasUnsavedChanges: true, savedQueries: [], viewerIsActive: true }‘
Chrome 43.0.2357 (Linux 0.0.0) LOG: ’ at: Test.assert (http://localhost:9876/base/test/editor/unit/build/bundled-tests.js?0b65e5af917d50057837c06efd9babda1122397b:86879:17)’

If you look at the “expected” and the “actual”, you can see they’re the same. Could someone take a look?


#2