mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Update settings.component.spec.ts
This commit is contained in:
		| @@ -15,6 +15,7 @@ import { | |||||||
|   NgbModule, |   NgbModule, | ||||||
|   NgbNavLink, |   NgbNavLink, | ||||||
|   NgbModalRef, |   NgbModalRef, | ||||||
|  |   NgbAlertModule, | ||||||
| } from '@ng-bootstrap/ng-bootstrap' | } from '@ng-bootstrap/ng-bootstrap' | ||||||
| import { of, throwError } from 'rxjs' | import { of, throwError } from 'rxjs' | ||||||
| import { routes } from 'src/app/app-routing.module' | import { routes } from 'src/app/app-routing.module' | ||||||
| @@ -42,6 +43,13 @@ import { CheckComponent } from '../../common/input/check/check.component' | |||||||
| import { ColorComponent } from '../../common/input/color/color.component' | import { ColorComponent } from '../../common/input/color/color.component' | ||||||
| import { PageHeaderComponent } from '../../common/page-header/page-header.component' | import { PageHeaderComponent } from '../../common/page-header/page-header.component' | ||||||
| import { SettingsComponent } from './settings.component' | import { SettingsComponent } from './settings.component' | ||||||
|  | import { SafeHtmlPipe } from 'src/app/pipes/safehtml.pipe' | ||||||
|  | import { SelectComponent } from '../../common/input/select/select.component' | ||||||
|  | import { TextComponent } from '../../common/input/text/text.component' | ||||||
|  | import { PasswordComponent } from '../../common/input/password/password.component' | ||||||
|  | import { NumberComponent } from '../../common/input/number/number.component' | ||||||
|  | import { TagsComponent } from '../../common/input/tags/tags.component' | ||||||
|  | import { NgSelectModule } from '@ng-select/ng-select' | ||||||
|  |  | ||||||
| const savedViews = [ | const savedViews = [ | ||||||
|   { id: 1, name: 'view1' }, |   { id: 1, name: 'view1' }, | ||||||
| @@ -90,6 +98,14 @@ describe('SettingsComponent', () => { | |||||||
|         ConfirmDialogComponent, |         ConfirmDialogComponent, | ||||||
|         CheckComponent, |         CheckComponent, | ||||||
|         ColorComponent, |         ColorComponent, | ||||||
|  |         SafeHtmlPipe, | ||||||
|  |         SelectComponent, | ||||||
|  |         TextComponent, | ||||||
|  |         PasswordComponent, | ||||||
|  |         NumberComponent, | ||||||
|  |         TagsComponent, | ||||||
|  |         MailAccountEditDialogComponent, | ||||||
|  |         MailRuleEditDialogComponent, | ||||||
|       ], |       ], | ||||||
|       providers: [CustomDatePipe, DatePipe, PermissionsGuard], |       providers: [CustomDatePipe, DatePipe, PermissionsGuard], | ||||||
|       imports: [ |       imports: [ | ||||||
| @@ -98,6 +114,8 @@ describe('SettingsComponent', () => { | |||||||
|         RouterTestingModule.withRoutes(routes), |         RouterTestingModule.withRoutes(routes), | ||||||
|         FormsModule, |         FormsModule, | ||||||
|         ReactiveFormsModule, |         ReactiveFormsModule, | ||||||
|  |         NgbAlertModule, | ||||||
|  |         NgSelectModule, | ||||||
|       ], |       ], | ||||||
|     }).compileComponents() |     }).compileComponents() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon