2020-10-01 15:21:22 +00:00
|
|
|
import { inject, TestBed } from '@angular/core/testing';
|
2020-10-02 10:54:29 +00:00
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2020-05-11 20:01:21 +00:00
|
|
|
|
2020-10-01 15:21:22 +00:00
|
|
|
import { RoleService } from './role.service';
|
2020-05-11 20:01:21 +00:00
|
|
|
|
|
|
|
describe('RoleService', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
TestBed.configureTestingModule({
|
2020-10-02 10:54:29 +00:00
|
|
|
imports: [HttpClientModule],
|
2020-10-01 15:21:22 +00:00
|
|
|
providers: [RoleService],
|
2020-05-11 20:01:21 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should be created', inject([RoleService], (service: RoleService) => {
|
|
|
|
expect(service).toBeTruthy();
|
|
|
|
}));
|
|
|
|
});
|