mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 08:36:37 +08:00
fix
This commit is contained in:
@@ -61,7 +61,7 @@ describe('Cloudflare sync tasks panel', () => {
|
||||
|
||||
it('queries only sync_member and sync_group and hides other tasks', async () => {
|
||||
vi.mocked(AdminTaskService.listTaskExecutions).mockImplementation(
|
||||
async (request) => {
|
||||
async (request = {}) => {
|
||||
if (request.task_type === 'cloudflare:sync_member') {
|
||||
return {
|
||||
items: [
|
||||
|
||||
Reference in New Issue
Block a user