mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-18 20:46:49 +01:00
Chore: miscellaneous frontend testing
This commit is contained in:
parent
4c6c976f63
commit
966eb00de0
11 changed files with 126 additions and 12 deletions
|
|
@ -119,6 +119,8 @@ describe('UploadFileWidgetComponent', () => {
|
|||
const processingStatus = new FileStatus()
|
||||
processingStatus.phase = FileStatusPhase.WORKING
|
||||
expect(component.getStatusColor(processingStatus)).toEqual('primary')
|
||||
processingStatus.phase = FileStatusPhase.UPLOADING
|
||||
expect(component.getStatusColor(processingStatus)).toEqual('primary')
|
||||
const failedStatus = new FileStatus()
|
||||
failedStatus.phase = FileStatusPhase.FAILED
|
||||
expect(component.getStatusColor(failedStatus)).toEqual('danger')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue