Skip to content

Instantly share code, notes, and snippets.

@FunnyGhost
Created December 4, 2019 15:11
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/f9c9552bd06c93c92ebb7f605fb6773d to your computer and use it in GitHub Desktop.
Save FunnyGhost/f9c9552bd06c93c92ebb7f605fb6773d to your computer and use it in GitHub Desktop.
it('should show all the favorite movies', () => {
const movieComponents = fixture.debugElement.queryAll(By.directive(FavoriteMovieComponent));
expect(movieComponents.length).toEqual(favoriteMoviesToUse.length);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment