Skip to content

Commit

Permalink
Fix 4485, 4484: Lint issue and ui-unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbeefcake committed Aug 31, 2023
1 parent 21abeb6 commit 324f845
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ui/test/forum/hooks/useForumCategoryThreads.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, UpdatedAtDesc],
limit: 30,
},
pollInterval: 0,
})
})

Expand All @@ -64,6 +65,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, UpdatedAtDesc],
limit: 30,
},
pollInterval: 0,
})

act(() => refresh({ filters: { author, date: { start, end }, tag: null } }))
Expand All @@ -82,6 +84,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, UpdatedAtDesc],
limit: 30,
},
pollInterval: 0,
})
})

Expand All @@ -94,6 +97,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, AuthorDesc],
limit: 30,
},
pollInterval: 0,
})
})

Expand All @@ -111,6 +115,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, UpdatedAtDesc],
limit: 30,
},
pollInterval: 0,
})

act(() => rerender([{ isArchive: true, order, filters: { author: null, date: { start, end }, tag: null } }]))
Expand All @@ -126,6 +131,7 @@ describe('useForumCategoryThreads', () => {
orderBy: [IsStickyDesc, UpdatedAtDesc],
limit: 30,
},
pollInterval: 0,
})
})

Expand All @@ -139,6 +145,7 @@ describe('useForumCategoryThreads', () => {
limit: 10,
offset: 0,
},
pollInterval: 0,
})
})
})

0 comments on commit 324f845

Please sign in to comment.