You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe('search',()=>{it('parses YouTube response',inject([YouTubeService,MockBackend],fakeAsync((service,backend)=>{letres;// other stuffservice.search('hey').subscribe(_res=>{res=_res;});tick();letvideo=res[0];expect(video.id).toEqual('VIDEO_ID');expect(video.title).toEqual('TITLE');expect(video.description).toEqual('DESCRIPTION');expect(video.thumbnailUrl).toEqual('THUMBNAIL_URL');})))});
It would be nice to be able to get everything within the inject block from video onward. This idea probably depends on #16
The text was updated successfully, but these errors were encountered:
Given the following code:
It would be nice to be able to get everything within the
inject
block fromvideo
onward. This idea probably depends on #16The text was updated successfully, but these errors were encountered: