blob: 4892e72aac49dfc371a66ae2f72ef0fdd2b6ae35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { TestBed, async } from '@angular/core/testing';
import { AdminService } from './admin.service';
import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('AdminService', () => {
beforeEach(() =>
TestBed.configureTestingModule({
imports: [HttpClientTestingModule]
}));
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: []
})
.compileComponents();
}));
it('should be created', () => {
const service: AdminService = TestBed.get(AdminService);
expect(service).toBeTruthy();
});
});
|