Created
May 30, 2016 09:31
-
-
Save glcheetham/3545de6b7360069d328c854ae488faca to your computer and use it in GitHub Desktop.
Chai object comparison (wrong)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect({ | |
name: 'Tiger', | |
species: 'Felis Catus', | |
favouriteSnack: 'Tuna', | |
schedule: { | |
breakfast: '08:00', | |
naptime: '10:00', | |
dinner: '12:00', | |
tea: '18:00' | |
} | |
}).to.equal({ | |
name: 'Tiger', | |
species: 'Felis Catus', | |
favouriteSnack: 'Tuna', | |
schedule: { | |
breakfast: '08:00', | |
naptime: '10:00', | |
dinner: '12:00', | |
tea: '18:00' | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment