mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-30 17:56:55 +00:00
fix privilege component test
This commit is contained in:
parent
55c993df71
commit
39401f3184
@ -1,6 +1,7 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PrivilegeComponent } from './privilege.component';
|
||||
import {GroupPrivilegesPipe} from "@components/role-management/role-detail/privilege/group-privileges.pipe";
|
||||
|
||||
describe('PrivilegeComponent', () => {
|
||||
let component: PrivilegeComponent;
|
||||
@ -8,7 +9,7 @@ describe('PrivilegeComponent', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ PrivilegeComponent ]
|
||||
declarations: [ PrivilegeComponent, GroupPrivilegesPipe ]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user