mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 09:37:04 +01:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
parent
58bf9c552b
commit
f525ac0af6
33 changed files with 60 additions and 53 deletions
|
|
@ -34,7 +34,7 @@ describe('CorrespondentListComponent', () => {
|
|||
correspondentsService = TestBed.inject(CorrespondentService)
|
||||
})
|
||||
|
||||
// Tests are included in management-list.compontent.spec.ts
|
||||
// Tests are included in management-list.component.spec.ts
|
||||
|
||||
it('should use correct delete message', () => {
|
||||
jest.spyOn(correspondentsService, 'listFiltered').mockReturnValue(
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ describe('DocumentTypeListComponent', () => {
|
|||
fixture.detectChanges()
|
||||
})
|
||||
|
||||
// Tests are included in management-list.compontent.spec.ts
|
||||
// Tests are included in management-list.component.spec.ts
|
||||
|
||||
it('should use correct delete message', () => {
|
||||
expect(
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ describe('StoragePathListComponent', () => {
|
|||
fixture.detectChanges()
|
||||
})
|
||||
|
||||
// Tests are included in management-list.compontent.spec.ts
|
||||
// Tests are included in management-list.component.spec.ts
|
||||
|
||||
it('should use correct delete message', () => {
|
||||
expect(component.getDeleteMessage({ id: 1, name: 'StoragePath1' })).toEqual(
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ describe('TagListComponent', () => {
|
|||
fixture.detectChanges()
|
||||
})
|
||||
|
||||
// Tests are included in management-list.compontent.spec.ts
|
||||
// Tests are included in management-list.component.spec.ts
|
||||
|
||||
it('should use correct delete message', () => {
|
||||
expect(component.getDeleteMessage({ id: 1, name: 'Tag1' })).toEqual(
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ export class WorkflowsComponent
|
|||
? EditDialogMode.EDIT
|
||||
: EditDialogMode.CREATE
|
||||
if (workflow) {
|
||||
// quick "deep" clone so original doesnt get modified
|
||||
// quick "deep" clone so original doesn't get modified
|
||||
const clone = Object.assign({}, workflow)
|
||||
clone.actions = [...workflow.actions]
|
||||
clone.triggers = [...workflow.triggers]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue