Last active
March 12, 2019 15:10
-
-
Save FunnyGhost/f3f0639b2c24049016e64704beffbade 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
describe('Render', () => { | |
beforeEach(() => { | |
fixture.detectChanges(); | |
}); | |
it('should have a title', () => { | |
const titleElements = fixture.debugElement.queryAll(By.css('h1')); | |
expect(titleElements.length).toBe(1); | |
expect(titleElements[0].nativeElement.innerHTML).toBe('Favorite movies'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment