mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Enhancement: improved loading visuals (#8435)
This commit is contained in:
parent
8722ff481c
commit
0647812699
35 changed files with 792 additions and 490 deletions
|
|
@ -129,6 +129,8 @@ describe('MailComponent', () => {
|
|||
fixture = TestBed.createComponent(MailComponent)
|
||||
component = fixture.componentInstance
|
||||
fixture.detectChanges()
|
||||
jest.useFakeTimers()
|
||||
jest.advanceTimersByTime(100)
|
||||
})
|
||||
|
||||
function completeSetup(excludeService = null) {
|
||||
|
|
@ -386,6 +388,7 @@ describe('MailComponent', () => {
|
|||
component.oAuthAccountId = 3
|
||||
const editSpy = jest.spyOn(component, 'editMailAccount')
|
||||
component.ngOnInit()
|
||||
jest.advanceTimersByTime(200)
|
||||
expect(editSpy).toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue