clean up and lint files
This commit is contained in:
@@ -19,7 +19,7 @@ describe('SongDataService', () => {
|
||||
() =>
|
||||
void TestBed.configureTestingModule({
|
||||
providers: [{provide: AngularFirestore, useValue: mockAngularFirestore}],
|
||||
}),
|
||||
})
|
||||
);
|
||||
|
||||
it('should be created', () => {
|
||||
@@ -27,13 +27,10 @@ describe('SongDataService', () => {
|
||||
void expect(service).toBeTruthy();
|
||||
});
|
||||
|
||||
it(
|
||||
'should list songs',
|
||||
waitForAsync(() => {
|
||||
const service: SongDataService = TestBed.inject(SongDataService);
|
||||
service.list$().subscribe(s => {
|
||||
void expect(s[0].title).toEqual('title1');
|
||||
});
|
||||
}),
|
||||
);
|
||||
it('should list songs', waitForAsync(() => {
|
||||
const service: SongDataService = TestBed.inject(SongDataService);
|
||||
service.list$().subscribe(s => {
|
||||
void expect(s[0].title).toEqual('title1');
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user