diff --git a/src-ui/src/app/app.component.spec.ts b/src-ui/src/app/app.component.spec.ts deleted file mode 100644 index f3ce2b3c2..000000000 --- a/src-ui/src/app/app.component.spec.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { TestBed } from '@angular/core/testing' -import { RouterTestingModule } from '@angular/router/testing' -import { AppComponent } from './app.component' - -describe('AppComponent', () => { - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [RouterTestingModule], - declarations: [AppComponent], - }).compileComponents() - }) - - it('should create the app', () => { - const fixture = TestBed.createComponent(AppComponent) - const app = fixture.componentInstance - expect(app).toBeTruthy() - }) - - it(`should have as title 'paperless-ui'`, () => { - const fixture = TestBed.createComponent(AppComponent) - const app = fixture.componentInstance - expect(app.title).toEqual('paperless-ui') - }) - - it('should render title', () => { - const fixture = TestBed.createComponent(AppComponent) - fixture.detectChanges() - const compiled = fixture.nativeElement - expect(compiled.querySelector('.content span').textContent).toContain( - 'paperless-ui app is running!' - ) - }) -}) diff --git a/src-ui/src/app/components/app-frame/app-frame.component.spec.ts b/src-ui/src/app/components/app-frame/app-frame.component.spec.ts deleted file mode 100644 index ae32cc1f7..000000000 --- a/src-ui/src/app/components/app-frame/app-frame.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { AppFrameComponent } from './app-frame.component' - -describe('AppFrameComponent', () => { - let component: AppFrameComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [AppFrameComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(AppFrameComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/confirm-dialog/confirm-dialog.component.spec.ts b/src-ui/src/app/components/common/confirm-dialog/confirm-dialog.component.spec.ts deleted file mode 100644 index 7d92d78e5..000000000 --- a/src-ui/src/app/components/common/confirm-dialog/confirm-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { ConfirmDialogComponent } from './confirm-dialog.component' - -describe('ConfirmDialogComponent', () => { - let component: ConfirmDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ConfirmDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(ConfirmDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.spec.ts b/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.spec.ts deleted file mode 100644 index b689078e1..000000000 --- a/src-ui/src/app/components/common/date-dropdown/date-dropdown.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DateDropdownComponent } from './date-dropdown.component' - -describe('DateDropdownComponent', () => { - let component: DateDropdownComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DateDropdownComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DateDropdownComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.spec.ts b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.spec.ts deleted file mode 100644 index 2f258b4d1..000000000 --- a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { EditDialogComponent } from './edit-dialog.component' - -describe('EditDialogComponent', () => { - let component: EditDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [EditDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(EditDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts index 92b16a93d..1ba9c53ec 100644 --- a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts @@ -19,27 +19,27 @@ export abstract class EditDialogComponent ) {} @Input() - dialogMode: string = 'create' + dialogMode: string = 'create'; @Input() - object: T + object: T; @Output() - success = new EventEmitter() + success = new EventEmitter(); - networkActive = false + networkActive = false; - closeEnabled = false + closeEnabled = false; - error = null + error = null; - abstract getForm(): FormGroup + abstract getForm(): FormGroup; - objectForm: FormGroup = this.getForm() + objectForm: FormGroup = this.getForm(); ngOnInit(): void { if (this.object != null) { - this.objectForm.patchValue(this.object) + this.objectForm.patchValue(this.object); } // wait to enable close button so it doesnt steal focus from input since its the first clickable element in the DOM @@ -49,34 +49,34 @@ export abstract class EditDialogComponent } getCreateTitle() { - return $localize`Create new item` + return $localize`Create new item`; } getEditTitle() { - return $localize`Edit item` + return $localize`Edit item`; } getSaveErrorMessage(error: string) { - return $localize`Could not save element: ${error}` + return $localize`Could not save element: ${error}`; } getTitle() { switch (this.dialogMode) { case 'create': - return this.getCreateTitle() + return this.getCreateTitle(); case 'edit': - return this.getEditTitle() + return this.getEditTitle(); default: break } } getMatchingAlgorithms() { - return MATCHING_ALGORITHMS + return MATCHING_ALGORITHMS; } get patternRequired(): boolean { - return this.objectForm?.value.matching_algorithm !== MATCH_AUTO + return this.objectForm?.value.matching_algorithm !== MATCH_AUTO; } save() { @@ -90,7 +90,7 @@ export abstract class EditDialogComponent serverResponse = this.service.create(newObject) break case 'edit': - serverResponse = this.service.update(newObject) + serverResponse = this.service.update(newObject); default: break } @@ -108,6 +108,6 @@ export abstract class EditDialogComponent } cancel() { - this.activeModal.close() + this.activeModal.close(); } } diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.spec.ts b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.spec.ts deleted file mode 100644 index 30b00adff..000000000 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { FilterableDropodownComponent } from './filterable-dropdown.component' - -describe('FilterableDropodownComponent', () => { - let component: FilterableDropodownComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [FilterableDropodownComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(FilterableDropodownComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.spec.ts b/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.spec.ts deleted file mode 100644 index 4c9d79396..000000000 --- a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { ToggleableDropdownButtonComponent } from './toggleable-dropdown-button.component' - -describe('ToggleableDropdownButtonComponent', () => { - let component: ToggleableDropdownButtonComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ToggleableDropdownButtonComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(ToggleableDropdownButtonComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/check/check.component.spec.ts b/src-ui/src/app/components/common/input/check/check.component.spec.ts deleted file mode 100644 index 0ac6271a4..000000000 --- a/src-ui/src/app/components/common/input/check/check.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { CheckComponent } from './check.component' - -describe('CheckComponent', () => { - let component: CheckComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [CheckComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(CheckComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/check/check.component.ts b/src-ui/src/app/components/common/input/check/check.component.ts index f4a6e527e..bf99b3c6a 100644 --- a/src-ui/src/app/components/common/input/check/check.component.ts +++ b/src-ui/src/app/components/common/input/check/check.component.ts @@ -17,6 +17,6 @@ import { AbstractInputComponent } from '../abstract-input' }) export class CheckComponent extends AbstractInputComponent { constructor() { - super() + super(); } } diff --git a/src-ui/src/app/components/common/input/color/color.component.spec.ts b/src-ui/src/app/components/common/input/color/color.component.spec.ts deleted file mode 100644 index f431ebe73..000000000 --- a/src-ui/src/app/components/common/input/color/color.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { ColorComponent } from './color.component' - -describe('ColorComponent', () => { - let component: ColorComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ColorComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(ColorComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/date/date.component.spec.ts b/src-ui/src/app/components/common/input/date/date.component.spec.ts deleted file mode 100644 index e2f0f1014..000000000 --- a/src-ui/src/app/components/common/input/date/date.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DateComponent } from './date.component' - -describe('DateComponent', () => { - let component: DateComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DateComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DateComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/number/number.component.spec.ts b/src-ui/src/app/components/common/input/number/number.component.spec.ts deleted file mode 100644 index f513af1d5..000000000 --- a/src-ui/src/app/components/common/input/number/number.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { NumberComponent } from './number.component' - -describe('NumberComponent', () => { - let component: NumberComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [NumberComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(NumberComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/select/select.component.spec.ts b/src-ui/src/app/components/common/input/select/select.component.spec.ts deleted file mode 100644 index ddab3ab94..000000000 --- a/src-ui/src/app/components/common/input/select/select.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { SelectComponent } from './select.component' - -describe('SelectComponent', () => { - let component: SelectComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SelectComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(SelectComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/tags/tags.component.spec.ts b/src-ui/src/app/components/common/input/tags/tags.component.spec.ts deleted file mode 100644 index c2e22f806..000000000 --- a/src-ui/src/app/components/common/input/tags/tags.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { TagsComponent } from './tags.component' - -describe('TagsComponent', () => { - let component: TagsComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [TagsComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(TagsComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/input/text/text.component.spec.ts b/src-ui/src/app/components/common/input/text/text.component.spec.ts deleted file mode 100644 index 509d14ad3..000000000 --- a/src-ui/src/app/components/common/input/text/text.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { TextComponent } from './text.component' - -describe('TextComponent', () => { - let component: TextComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [TextComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(TextComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/page-header/page-header.component.spec.ts b/src-ui/src/app/components/common/page-header/page-header.component.spec.ts deleted file mode 100644 index 711fffbfd..000000000 --- a/src-ui/src/app/components/common/page-header/page-header.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { PageHeaderComponent } from './page-header.component' - -describe('PageHeaderComponent', () => { - let component: PageHeaderComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [PageHeaderComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(PageHeaderComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/select-dialog/select-dialog.component.spec.ts b/src-ui/src/app/components/common/select-dialog/select-dialog.component.spec.ts deleted file mode 100644 index 06ab79ef8..000000000 --- a/src-ui/src/app/components/common/select-dialog/select-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { SelectDialogComponent } from './select-dialog.component' - -describe('SelectDialogComponent', () => { - let component: SelectDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SelectDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(SelectDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/tag/tag.component.spec.ts b/src-ui/src/app/components/common/tag/tag.component.spec.ts deleted file mode 100644 index 0b324ecf0..000000000 --- a/src-ui/src/app/components/common/tag/tag.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { TagComponent } from './tag.component' - -describe('TagComponent', () => { - let component: TagComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [TagComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(TagComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/common/toasts/toasts.component.spec.ts b/src-ui/src/app/components/common/toasts/toasts.component.spec.ts deleted file mode 100644 index 26c006345..000000000 --- a/src-ui/src/app/components/common/toasts/toasts.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { ToastsComponent } from './toasts.component' - -describe('ToastsComponent', () => { - let component: ToastsComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [ToastsComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(ToastsComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/dashboard.component.spec.ts b/src-ui/src/app/components/dashboard/dashboard.component.spec.ts deleted file mode 100644 index 623e13628..000000000 --- a/src-ui/src/app/components/dashboard/dashboard.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DashboardComponent } from './dashboard.component' - -describe('DashboardComponent', () => { - let component: DashboardComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DashboardComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DashboardComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.spec.ts b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.spec.ts deleted file mode 100644 index df26f34c8..000000000 --- a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { SavedViewWidgetComponent } from './saved-view-widget.component' - -describe('SavedViewWidgetComponent', () => { - let component: SavedViewWidgetComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SavedViewWidgetComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(SavedViewWidgetComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.spec.ts b/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.spec.ts deleted file mode 100644 index ba9523dc6..000000000 --- a/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { StatisticsWidgetComponent } from './statistics-widget.component' - -describe('StatisticsWidgetComponent', () => { - let component: StatisticsWidgetComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [StatisticsWidgetComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(StatisticsWidgetComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.spec.ts b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.spec.ts deleted file mode 100644 index 6f05feaec..000000000 --- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { UploadFileWidgetComponent } from './upload-file-widget.component' - -describe('UploadFileWidgetComponent', () => { - let component: UploadFileWidgetComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [UploadFileWidgetComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(UploadFileWidgetComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.spec.ts b/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.spec.ts deleted file mode 100644 index 7dee2aad1..000000000 --- a/src-ui/src/app/components/dashboard/widgets/welcome-widget/welcome-widget.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { WelcomeWidgetComponent } from './welcome-widget.component' - -describe('WelcomeWidgetComponent', () => { - let component: WelcomeWidgetComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [WelcomeWidgetComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(WelcomeWidgetComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.spec.ts b/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.spec.ts deleted file mode 100644 index 750498f01..000000000 --- a/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { WidgetFrameComponent } from './widget-frame.component' - -describe('WidgetFrameComponent', () => { - let component: WidgetFrameComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [WidgetFrameComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(WidgetFrameComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-asn/document-asn.component.spec.ts b/src-ui/src/app/components/document-asn/document-asn.component.spec.ts deleted file mode 100644 index 92290955d..000000000 --- a/src-ui/src/app/components/document-asn/document-asn.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentAsnComponent } from './document-asn.component' - -describe('DocumentASNComponentComponent', () => { - let component: DocumentAsnComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentAsnComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentAsnComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-detail/document-detail.component.spec.ts b/src-ui/src/app/components/document-detail/document-detail.component.spec.ts deleted file mode 100644 index bcd7c396f..000000000 --- a/src-ui/src/app/components/document-detail/document-detail.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentDetailComponent } from './document-detail.component' - -describe('DocumentDetailComponent', () => { - let component: DocumentDetailComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentDetailComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentDetailComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.spec.ts b/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.spec.ts deleted file mode 100644 index 8e133d52e..000000000 --- a/src-ui/src/app/components/document-detail/metadata-collapse/metadata-collapse.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { MetadataCollapseComponent } from './metadata-collapse.component' - -describe('MetadataCollapseComponent', () => { - let component: MetadataCollapseComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [MetadataCollapseComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(MetadataCollapseComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts deleted file mode 100644 index df43a8873..000000000 --- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { BulkEditorComponent } from './bulk-editor.component' - -describe('BulkEditorComponent', () => { - let component: BulkEditorComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [BulkEditorComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(BulkEditorComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.spec.ts b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.spec.ts deleted file mode 100644 index 49a2ff3ab..000000000 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentCardLargeComponent } from './document-card-large.component' - -describe('DocumentCardLargeComponent', () => { - let component: DocumentCardLargeComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentCardLargeComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentCardLargeComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.spec.ts b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.spec.ts deleted file mode 100644 index ae5a9cc5a..000000000 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentCardSmallComponent } from './document-card-small.component' - -describe('DocumentCardSmallComponent', () => { - let component: DocumentCardSmallComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentCardSmallComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentCardSmallComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/document-list.component.spec.ts b/src-ui/src/app/components/document-list/document-list.component.spec.ts deleted file mode 100644 index dec0355e5..000000000 --- a/src-ui/src/app/components/document-list/document-list.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentListComponent } from './document-list.component' - -describe('DocumentListComponent', () => { - let component: DocumentListComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentListComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentListComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.spec.ts b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.spec.ts deleted file mode 100644 index cec3fed1a..000000000 --- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { FilterEditorComponent } from './filter-editor.component' - -describe('FilterEditorComponent', () => { - let component: FilterEditorComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [FilterEditorComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(FilterEditorComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.spec.ts b/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.spec.ts deleted file mode 100644 index 5087da37a..000000000 --- a/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { SaveViewConfigDialogComponent } from './save-view-config-dialog.component' - -describe('SaveViewConfigDialogComponent', () => { - let component: SaveViewConfigDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SaveViewConfigDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(SaveViewConfigDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.spec.ts b/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.spec.ts deleted file mode 100644 index 1a491b113..000000000 --- a/src-ui/src/app/components/manage/correspondent-list/correspondent-edit-dialog/correspondent-edit-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { CorrespondentEditDialogComponent } from './correspondent-edit-dialog.component' - -describe('CorrespondentEditDialogComponent', () => { - let component: CorrespondentEditDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [CorrespondentEditDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(CorrespondentEditDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts deleted file mode 100644 index cb12f5d27..000000000 --- a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { CorrespondentListComponent } from './correspondent-list.component' - -describe('CorrespondentListComponent', () => { - let component: CorrespondentListComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [CorrespondentListComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(CorrespondentListComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.spec.ts b/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.spec.ts deleted file mode 100644 index 6aa291bd2..000000000 --- a/src-ui/src/app/components/manage/document-type-list/document-type-edit-dialog/document-type-edit-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentTypeEditDialogComponent } from './document-type-edit-dialog.component' - -describe('DocumentTypeEditDialogComponent', () => { - let component: DocumentTypeEditDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentTypeEditDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentTypeEditDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/document-type-list/document-type-list.component.spec.ts b/src-ui/src/app/components/manage/document-type-list/document-type-list.component.spec.ts deleted file mode 100644 index b78d9bf06..000000000 --- a/src-ui/src/app/components/manage/document-type-list/document-type-list.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { DocumentTypeListComponent } from './document-type-list.component' - -describe('DocumentTypeListComponent', () => { - let component: DocumentTypeListComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [DocumentTypeListComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(DocumentTypeListComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/generic-list/generic-list.component.spec.ts b/src-ui/src/app/components/manage/generic-list/generic-list.component.spec.ts deleted file mode 100644 index b3700e1ea..000000000 --- a/src-ui/src/app/components/manage/generic-list/generic-list.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { GenericListComponent } from './generic-list.component' - -describe('GenericListComponent', () => { - let component: GenericListComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [GenericListComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(GenericListComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/logs/logs.component.spec.ts b/src-ui/src/app/components/manage/logs/logs.component.spec.ts deleted file mode 100644 index 9a06d413c..000000000 --- a/src-ui/src/app/components/manage/logs/logs.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { LogsComponent } from './logs.component' - -describe('LogsComponent', () => { - let component: LogsComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [LogsComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(LogsComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/settings/settings.component.spec.ts b/src-ui/src/app/components/manage/settings/settings.component.spec.ts deleted file mode 100644 index 0ba0ab117..000000000 --- a/src-ui/src/app/components/manage/settings/settings.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { SettingsComponent } from './settings.component' - -describe('SettingsComponent', () => { - let component: SettingsComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [SettingsComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(SettingsComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.spec.ts b/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.spec.ts deleted file mode 100644 index 72cec03c2..000000000 --- a/src-ui/src/app/components/manage/tag-list/tag-edit-dialog/tag-edit-dialog.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { TagEditDialogComponent } from './tag-edit-dialog.component' - -describe('TagEditDialogComponent', () => { - let component: TagEditDialogComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [TagEditDialogComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(TagEditDialogComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/manage/tag-list/tag-list.component.spec.ts b/src-ui/src/app/components/manage/tag-list/tag-list.component.spec.ts deleted file mode 100644 index 75c038d08..000000000 --- a/src-ui/src/app/components/manage/tag-list/tag-list.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { TagListComponent } from './tag-list.component' - -describe('TagListComponent', () => { - let component: TagListComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [TagListComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(TagListComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/components/not-found/not-found.component.spec.ts b/src-ui/src/app/components/not-found/not-found.component.spec.ts deleted file mode 100644 index e99177b78..000000000 --- a/src-ui/src/app/components/not-found/not-found.component.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing' - -import { NotFoundComponent } from './not-found.component' - -describe('NotFoundComponent', () => { - let component: NotFoundComponent - let fixture: ComponentFixture - - beforeEach(async () => { - await TestBed.configureTestingModule({ - declarations: [NotFoundComponent], - }).compileComponents() - }) - - beforeEach(() => { - fixture = TestBed.createComponent(NotFoundComponent) - component = fixture.componentInstance - fixture.detectChanges() - }) - - it('should create', () => { - expect(component).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/interceptors/api-version.interceptor.spec.ts b/src-ui/src/app/interceptors/api-version.interceptor.spec.ts deleted file mode 100644 index b1a2a9e04..000000000 --- a/src-ui/src/app/interceptors/api-version.interceptor.spec.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { ApiVersionInterceptor } from './api-version.interceptor' - -describe('ApiVersionInterceptor', () => { - beforeEach(() => - TestBed.configureTestingModule({ - providers: [ApiVersionInterceptor], - }) - ) - - it('should be created', () => { - const interceptor: ApiVersionInterceptor = TestBed.inject( - ApiVersionInterceptor - ) - expect(interceptor).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/pipes/custom-date.pipe.spec.ts b/src-ui/src/app/pipes/custom-date.pipe.spec.ts deleted file mode 100644 index 063d80da5..000000000 --- a/src-ui/src/app/pipes/custom-date.pipe.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { CustomDatePipe } from './custom-date.pipe' - -describe('CustomDatePipe', () => { - it('create an instance', () => { - const pipe = new CustomDatePipe() - expect(pipe).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/pipes/safe.pipe.spec.ts b/src-ui/src/app/pipes/safe.pipe.spec.ts deleted file mode 100644 index 2fca4cee1..000000000 --- a/src-ui/src/app/pipes/safe.pipe.spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { SafePipe } from './safe.pipe' - -describe('SafePipe', () => { - it('create an instance', () => { - const pipe = new SafePipe() - expect(pipe).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/consumer-status.service.spec.ts b/src-ui/src/app/services/consumer-status.service.spec.ts deleted file mode 100644 index 03a5b003f..000000000 --- a/src-ui/src/app/services/consumer-status.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { ConsumerStatusService } from './consumer-status.service' - -describe('ConsumerStatusService', () => { - let service: ConsumerStatusService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(ConsumerStatusService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/document-list-view.service.spec.ts b/src-ui/src/app/services/document-list-view.service.spec.ts deleted file mode 100644 index bbb0ed8f2..000000000 --- a/src-ui/src/app/services/document-list-view.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { DocumentListViewService } from './document-list-view.service' - -describe('DocumentListViewService', () => { - let service: DocumentListViewService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(DocumentListViewService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/open-documents.service.spec.ts b/src-ui/src/app/services/open-documents.service.spec.ts deleted file mode 100644 index dcc18b05b..000000000 --- a/src-ui/src/app/services/open-documents.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { OpenDocumentsService } from './open-documents.service' - -describe('OpenDocumentsService', () => { - let service: OpenDocumentsService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(OpenDocumentsService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/abstract-paperless-service.spec.ts b/src-ui/src/app/services/rest/abstract-paperless-service.spec.ts deleted file mode 100644 index 99207410d..000000000 --- a/src-ui/src/app/services/rest/abstract-paperless-service.spec.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AbstractPaperlessService } from './abstract-paperless-service' - -describe('AbstractPaperlessService', () => { - it('should create an instance', () => { - expect(new AbstractPaperlessService()).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/correspondent.service.spec.ts b/src-ui/src/app/services/rest/correspondent.service.spec.ts deleted file mode 100644 index 56ad7cc2d..000000000 --- a/src-ui/src/app/services/rest/correspondent.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { CorrespondentService } from './correspondent.service' - -describe('CorrespondentService', () => { - let service: CorrespondentService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(CorrespondentService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/document-type.service.spec.ts b/src-ui/src/app/services/rest/document-type.service.spec.ts deleted file mode 100644 index 58ff37ce0..000000000 --- a/src-ui/src/app/services/rest/document-type.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { DocumentTypeService } from './document-type.service' - -describe('DocumentTypeService', () => { - let service: DocumentTypeService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(DocumentTypeService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/document.service.spec.ts b/src-ui/src/app/services/rest/document.service.spec.ts deleted file mode 100644 index 933a0f92c..000000000 --- a/src-ui/src/app/services/rest/document.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { DocumentService } from './document.service' - -describe('DocumentService', () => { - let service: DocumentService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(DocumentService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/log.service.spec.ts b/src-ui/src/app/services/rest/log.service.spec.ts deleted file mode 100644 index 625a8fffe..000000000 --- a/src-ui/src/app/services/rest/log.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { LogService } from './log.service' - -describe('LogService', () => { - let service: LogService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(LogService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/saved-view.service.spec.ts b/src-ui/src/app/services/rest/saved-view.service.spec.ts deleted file mode 100644 index 59b979a63..000000000 --- a/src-ui/src/app/services/rest/saved-view.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { SavedViewService } from './saved-view.service' - -describe('SavedViewService', () => { - let service: SavedViewService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(SavedViewService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/search.service.spec.ts b/src-ui/src/app/services/rest/search.service.spec.ts deleted file mode 100644 index 3bb880213..000000000 --- a/src-ui/src/app/services/rest/search.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { SearchService } from './search.service' - -describe('SearchService', () => { - let service: SearchService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(SearchService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/rest/tag.service.spec.ts b/src-ui/src/app/services/rest/tag.service.spec.ts deleted file mode 100644 index 279d44acb..000000000 --- a/src-ui/src/app/services/rest/tag.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { TagService } from './tag.service' - -describe('TagService', () => { - let service: TagService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(TagService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/settings.service.spec.ts b/src-ui/src/app/services/settings.service.spec.ts deleted file mode 100644 index cd22f5571..000000000 --- a/src-ui/src/app/services/settings.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { SettingsService } from './settings.service' - -describe('SettingsService', () => { - let service: SettingsService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(SettingsService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -}) diff --git a/src-ui/src/app/services/toast.service.spec.ts b/src-ui/src/app/services/toast.service.spec.ts deleted file mode 100644 index c6c382013..000000000 --- a/src-ui/src/app/services/toast.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing' - -import { ToastService } from './toast.service' - -describe('ToastService', () => { - let service: ToastService - - beforeEach(() => { - TestBed.configureTestingModule({}) - service = TestBed.inject(ToastService) - }) - - it('should be created', () => { - expect(service).toBeTruthy() - }) -})