blob: 73bdc1065d1a8cbdd74516662b9e866f0fe9efbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { TestBed } from '@angular/core/testing';
import { UserService } from './user.service';
import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('UserService', () => {
beforeEach(() => TestBed.configureTestingModule({
imports:[HttpClientTestingModule]
}));
it('should be created', () => {
const service: UserService = TestBed.get(UserService);
expect(service).toBeTruthy();
});
});
|