mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 01:57:08 +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
|
|
@ -40,6 +40,7 @@ import { PermissionsGroupComponent } from '../../common/input/permissions/permis
|
|||
import { PermissionsUserComponent } from '../../common/input/permissions/permissions-user/permissions-user.component'
|
||||
import { NgSelectModule } from '@ng-select/ng-select'
|
||||
import { GroupService } from 'src/app/services/rest/group.service'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const selectionData: SelectionData = {
|
||||
selected_tags: [
|
||||
|
|
@ -153,6 +154,7 @@ describe('BulkEditorComponent', () => {
|
|||
NgbModule,
|
||||
NgbModalModule,
|
||||
NgSelectModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import { SafeUrlPipe } from 'src/app/pipes/safeurl.pipe'
|
|||
import { DocumentCardLargeComponent } from './document-card-large.component'
|
||||
import { IsNumberPipe } from 'src/app/pipes/is-number.pipe'
|
||||
import { PreviewPopupComponent } from '../../common/preview-popup/preview-popup.component'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const doc = {
|
||||
id: 10,
|
||||
|
|
@ -60,6 +61,7 @@ describe('DocumentCardLargeComponent', () => {
|
|||
NgbPopoverModule,
|
||||
NgbTooltipModule,
|
||||
NgbProgressbarModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import { TagComponent } from '../../common/tag/tag.component'
|
|||
import { Tag } from 'src/app/data/tag'
|
||||
import { IsNumberPipe } from 'src/app/pipes/is-number.pipe'
|
||||
import { PreviewPopupComponent } from '../../common/preview-popup/preview-popup.component'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const doc = {
|
||||
id: 10,
|
||||
|
|
@ -74,6 +75,7 @@ describe('DocumentCardSmallComponent', () => {
|
|||
NgbPopoverModule,
|
||||
NgbTooltipModule,
|
||||
NgbProgressbarModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ import { PermissionsGuard } from 'src/app/guards/permissions.guard'
|
|||
import { SettingsService } from 'src/app/services/settings.service'
|
||||
import { SETTINGS_KEYS } from 'src/app/data/ui-settings'
|
||||
import { IsNumberPipe } from 'src/app/pipes/is-number.pipe'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const docs: Document[] = [
|
||||
{
|
||||
|
|
@ -146,6 +147,7 @@ describe('DocumentListComponent', () => {
|
|||
NgbDatepickerModule,
|
||||
NgbPopoverModule,
|
||||
NgbTooltipModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ import {
|
|||
OwnerFilterType,
|
||||
} from '../../common/permissions-filter-dropdown/permissions-filter-dropdown.component'
|
||||
import { FilterEditorComponent } from './filter-editor.component'
|
||||
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
|
||||
|
||||
const tags: Tag[] = [
|
||||
{
|
||||
|
|
@ -191,6 +192,7 @@ describe('FilterEditorComponent', () => {
|
|||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
NgbDatepickerModule,
|
||||
NgxBootstrapIconsModule.pick(allIcons),
|
||||
],
|
||||
}).compileComponents()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue