mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Refactor uploads to service, working global dd
This commit is contained in:
parent
3e49f93816
commit
77b9988d05
@ -1,5 +1,11 @@
|
|||||||
import { SettingsService, SETTINGS_KEYS } from './services/settings.service'
|
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 { Router } from '@angular/router'
|
||||||
import { Subscription } from 'rxjs'
|
import { Subscription } from 'rxjs'
|
||||||
import { ConsumerStatusService } from './services/consumer-status.service'
|
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();
|
||||||
|
});
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user