Merge pull request #1259 from omnivore-app/fix/update-since-test-failure

Set the "since" to be the exact time when the last page was added to ensure all the deletion happen after that
This commit is contained in:
Hongbo Wu
2022-09-29 20:40:22 +08:00
committed by GitHub

View File

@ -1009,7 +1009,7 @@ describe('Article API', () => {
}
// set the since to be the timestamp before deletion
since = pages[4].createdAt.toISOString()
since = pages[4].updatedAt!.toISOString()
// Delete some pages
for (let i = 0; i < 3; i++) {