mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Fix frontend tests icon imports
This commit is contained in:
parent
e5f48739a0
commit
5781a0d51f
42 changed files with 137 additions and 20 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
PermissionType,
|
||||
} from 'src/app/services/permissions.service'
|
||||
import { By } from '@angular/platform-browser'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const permissions = [
|
||||
'add_document',
|
||||
|
|
@ -32,7 +33,12 @@ describe('PermissionsSelectComponent', () => {
|
|||
TestBed.configureTestingModule({
|
||||
declarations: [PermissionsSelectComponent],
|
||||
providers: [],
|
||||
imports: [FormsModule, ReactiveFormsModule, NgbModule],
|
||||
imports: [
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
NgbModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
fixture = TestBed.createComponent(PermissionsSelectComponent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue