Created
October 29, 2020 10:48
-
-
Save Dunkelheit/ba83027fe565f48b7c05abfbd6c85bff to your computer and use it in GitHub Desktop.
deep.equal
This file contains hidden or 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
describe('A person', () => { | |
it('Has all the right properties and values', () => { | |
expect(person).to.be.deep.equal({ | |
guid: '79c936b0-c75f-4b09-b53e-8d7822bbe17b', | |
name: 'Mcguire English', | |
company: 'ZILLAR', | |
email: '[email protected]', | |
phone: '+1 (555) 555-5555', | |
isActive: false, | |
age: 35, | |
gender: 'male', | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment