Created
September 12, 2019 12:25
-
-
Save FunnyGhost/24ccdc81daced15f28a355c44a6cb096 to your computer and use it in GitHub Desktop.
favorite movies spec init
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
| const moviesToUse = [ | |
| { title: 'Interstellar' } as Movie, | |
| { title: 'The Green Book' } as Movie, | |
| { title: 'Dark Knight' } as Movie | |
| ]; | |
| describe('FavoriteMoviesService', () => { | |
| let serviceUnderTest: FavoriteMoviesService; | |
| beforeEach(() => { | |
| TestBed.configureTestingModule({ | |
| providers: [FavoriteMoviesService] | |
| }); | |
| serviceUnderTest = TestBed.get(FavoriteMoviesService); | |
| }); | |
| it('should be created', () => { | |
| expect(serviceUnderTest).toBeTruthy(); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment