mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Need to force this test to overwrite the cached value
This commit is contained in:
parent
0e37bfa03d
commit
3ecbd3f434
1 changed files with 6 additions and 2 deletions
|
|
@ -628,7 +628,6 @@ describe('Article API', () => {
|
|||
).expect(200)
|
||||
|
||||
const savedItem = await findLibraryItemByUrl(url, user.id)
|
||||
console.log('savedItem: ', savedItem)
|
||||
expect(savedItem?.archivedAt).to.not.be.null
|
||||
expect(savedItem?.labels?.map((l) => l.name)).to.eql(labels)
|
||||
})
|
||||
|
|
@ -779,7 +778,12 @@ describe('Article API', () => {
|
|||
|
||||
it('saves topPercent as 0 if defined as 0', async () => {
|
||||
const topPercent = 0
|
||||
query = saveArticleReadingProgressQuery(itemId, progress, topPercent)
|
||||
query = saveArticleReadingProgressQuery(
|
||||
itemId,
|
||||
progress,
|
||||
topPercent,
|
||||
true
|
||||
)
|
||||
const res = await graphqlRequest(query, authToken).expect(200)
|
||||
expect(
|
||||
res.body.data.saveArticleReadingProgress.updatedArticle
|
||||
|
|
|
|||
Loading…
Reference in a new issue