feat(web): clear failed jobs (#5423)

* add clear failed jobs button

* refactor: clean up code

* chore: open api

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
Clement Ong
2023-12-05 10:07:20 +08:00
committed by GitHub
parent 933c24ea6f
commit 982183600d
13 changed files with 55 additions and 9 deletions

View File

@@ -76,6 +76,7 @@ export const testApp = {
getQueueStatus: jest.fn(),
getJobCounts: jest.fn(),
pause: jest.fn(),
clear: jest.fn(),
} as IJobRepository)
.compile();