13 lines
323 B
TypeScript
13 lines
323 B
TypeScript
import { TestBed } from '@angular/core/testing';
|
|
|
|
import { HeroService } from './hero.service';
|
|
|
|
describe('HeroService', () => {
|
|
beforeEach(() => TestBed.configureTestingModule({}));
|
|
|
|
it('should be created', () => {
|
|
const service: HeroService = TestBed.get(HeroService);
|
|
expect(service).toBeTruthy();
|
|
});
|
|
});
|