mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-29 15:43:58 +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 { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
import { PrivilegeComponent } from './privilege.component';
|
import { PrivilegeComponent } from './privilege.component';
|
||||||
|
import {GroupPrivilegesPipe} from "@components/role-management/role-detail/privilege/group-privileges.pipe";
|
||||||
|
|
||||||
describe('PrivilegeComponent', () => {
|
describe('PrivilegeComponent', () => {
|
||||||
let component: PrivilegeComponent;
|
let component: PrivilegeComponent;
|
||||||
@ -8,7 +9,7 @@ describe('PrivilegeComponent', () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ PrivilegeComponent ]
|
declarations: [ PrivilegeComponent, GroupPrivilegesPipe ]
|
||||||
})
|
})
|
||||||
.compileComponents();
|
.compileComponents();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user