import { TestBed, inject } from '@angular/core/testing'; | |
import { RouterTestingModule } from '@angular/router/testing'; | |
import { HttpModule } from '@angular/http'; | |
import { ChooserService } from './chooser.service'; | |
describe('ChooserService', () => { | |
beforeEach(() => { | |
TestBed.configureTestingModule({ | |
imports: [ | |
RouterTestingModule, | |
HttpModule | |
], | |
providers: [ChooserService] | |
}); | |
}); | |
it('should be created', inject([ChooserService], (service: ChooserService) => { | |
expect(service).toBeTruthy(); | |
})); | |
}); |