diff --git a/frontend/src/lib/document/DocumentStatusChip.svelte b/frontend/src/lib/document/DocumentStatusChip.svelte index e0cc1ec7..f3fc3de8 100644 --- a/frontend/src/lib/document/DocumentStatusChip.svelte +++ b/frontend/src/lib/document/DocumentStatusChip.svelte @@ -1,7 +1,7 @@ { it('maps PLACEHOLDER to correct label', () => { @@ -48,25 +48,3 @@ describe('statusDotClass', () => { expect(statusDotClass('ARCHIVED')).toBe('bg-emerald-600'); }); }); - -describe('statusLabel', () => { - it('PLACEHOLDER → "Platzhalter"', () => { - expect(statusLabel('PLACEHOLDER')).toBe('Platzhalter'); - }); - - it('UPLOADED → "Hochgeladen"', () => { - expect(statusLabel('UPLOADED')).toBe('Hochgeladen'); - }); - - it('TRANSCRIBED → "Transkribiert"', () => { - expect(statusLabel('TRANSCRIBED')).toBe('Transkribiert'); - }); - - it('REVIEWED → "Geprüft"', () => { - expect(statusLabel('REVIEWED')).toBe('Geprüft'); - }); - - it('ARCHIVED → "Archiviert"', () => { - expect(statusLabel('ARCHIVED')).toBe('Archiviert'); - }); -}); diff --git a/frontend/src/lib/document/documentStatusLabel.ts b/frontend/src/lib/document/documentStatusLabel.ts index d84e4b48..67e4ff34 100644 --- a/frontend/src/lib/document/documentStatusLabel.ts +++ b/frontend/src/lib/document/documentStatusLabel.ts @@ -33,7 +33,3 @@ export function statusDotClass(status: DocumentStatus): string { return 'bg-emerald-600'; } } - -export function statusLabel(status: string): string { - return formatDocumentStatus(status); -}