Created
January 29, 2018 14:50
-
-
Save milingo/7395399c2f009e86397ec9ae02c24ae8 to your computer and use it in GitHub Desktop.
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
it('should save and find a tweet', async () => { | |
tweet.setFollowers(42); | |
tweet.setFriends(88); | |
const newTweet = await saveAndFind(tweet); | |
expect(newTweet.getFollowers()).to.eql(tweet.getFollowers()); | |
expect(newTweet.getFriends()).to.eql(tweet.getFriends()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment