add popular reads to the continue reading section of new user library

This commit is contained in:
Hongbo Wu
2024-03-14 11:14:37 +08:00
parent 3bb12a09df
commit 81e489021e
2 changed files with 10 additions and 4 deletions

View File

@ -591,7 +591,7 @@ describe('auth router', () => {
await deleteUser(user.id)
})
it('adds popular reads to the library', async () => {
it('adds popular reads to the continue reading section', async () => {
const pendingUserToken = await createPendingUserToken({
sourceUserId,
email,
@ -608,7 +608,7 @@ describe('auth router', () => {
).expect(200)
const user = await userRepository.findOneByOrFail({ name })
const { count } = await searchLibraryItems(
{ query: 'in:all' },
{ query: 'in:inbox sort:read-desc is:reading' },
user.id
)