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