mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 13:06:46 +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
|
|
@ -70,6 +70,7 @@ import { CustomFieldsDropdownComponent } from '../common/custom-fields-dropdown/
|
|||
import { CustomFieldDataType } from 'src/app/data/custom-field'
|
||||
import { CustomFieldsService } from 'src/app/services/rest/custom-fields.service'
|
||||
import { PdfViewerComponent } from '../common/pdf-viewer/pdf-viewer.component'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const doc: Document = {
|
||||
id: 3,
|
||||
|
|
@ -250,6 +251,7 @@ describe('DocumentDetailComponent', () => {
|
|||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
NgbModalModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing'
|
||||
import { MetadataCollapseComponent } from './metadata-collapse.component'
|
||||
import { NgbCollapseModule } from '@ng-bootstrap/ng-bootstrap'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const metadata = [
|
||||
{
|
||||
|
|
@ -25,7 +26,7 @@ describe('MetadataCollapseComponent', () => {
|
|||
TestBed.configureTestingModule({
|
||||
declarations: [MetadataCollapseComponent],
|
||||
providers: [],
|
||||
imports: [NgbCollapseModule],
|
||||
imports: [NgbCollapseModule, NgxBootstrapIconsModule.pick(allIcons)],
|
||||
}).compileComponents()
|
||||
|
||||
fixture = TestBed.createComponent(MetadataCollapseComponent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue