18 lines
455 B
TypeScript
18 lines
455 B
TypeScript
import { HttpClientModule } from '@angular/common/http';
|
|
import { inject, TestBed } from '@angular/core/testing';
|
|
|
|
import { RoleService } from './role.service';
|
|
|
|
describe('RoleService', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [HttpClientModule],
|
|
providers: [RoleService],
|
|
});
|
|
});
|
|
|
|
it('should be created', inject([RoleService], (service: RoleService) => {
|
|
expect(service).toBeTruthy();
|
|
}));
|
|
});
|