Created
September 12, 2019 12:37
-
-
Save FunnyGhost/7ea2ee08f8a10a2b93a02be80b4d7b6c 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 return the favorite movies', () => { | |
let result: Movie[] = []; | |
serviceUnderTest.getFavoriteMovies().subscribe(data => { | |
result = data; | |
}); | |
expect(result).toEqual(moviesToUse); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment