mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Refactor uploads to service, working global dd
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| import { SettingsService, SETTINGS_KEYS } from './services/settings.service' | ||||
| import { Component, OnDestroy, OnInit } from '@angular/core' | ||||
| import { | ||||
|   Component, | ||||
|   OnDestroy, | ||||
|   OnInit, | ||||
|   Renderer2, | ||||
|   RendererFactory2, | ||||
| } from '@angular/core' | ||||
| import { Router } from '@angular/router' | ||||
| import { Subscription } from 'rxjs' | ||||
| import { ConsumerStatusService } from './services/consumer-status.service' | ||||
|   | ||||
							
								
								
									
										16
									
								
								src-ui/src/app/services/upload-documents.service.spec.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src-ui/src/app/services/upload-documents.service.spec.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| import { TestBed } from '@angular/core/testing'; | ||||
|  | ||||
| import { UploadDocumentsService } from './upload-documents.service'; | ||||
|  | ||||
| describe('UploadDocumentsService', () => { | ||||
|   let service: UploadDocumentsService; | ||||
|  | ||||
|   beforeEach(() => { | ||||
|     TestBed.configureTestingModule({}); | ||||
|     service = TestBed.inject(UploadDocumentsService); | ||||
|   }); | ||||
|  | ||||
|   it('should be created', () => { | ||||
|     expect(service).toBeTruthy(); | ||||
|   }); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon