angular-cn/aio/content/examples/providers/src/app/user.service.spec.ts
2018-01-18 18:22:20 -06:00

15 lines
354 B
TypeScript

import { TestBed, inject } from '@angular/core/testing';
import { UserService } from './user.service';
describe('UserService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [UserService]
});
});
it('should ...', inject([UserService], (service: UserService) => {
expect(service).toBeTruthy();
}));
});