Skip to content

Instantly share code, notes, and snippets.

@FunnyGhost
Created September 12, 2019 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FunnyGhost/7ea2ee08f8a10a2b93a02be80b4d7b6c to your computer and use it in GitHub Desktop.
Save FunnyGhost/7ea2ee08f8a10a2b93a02be80b4d7b6c to your computer and use it in GitHub Desktop.
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