fix tests

This commit is contained in:
Hongbo Wu
2024-02-08 10:42:37 +08:00
parent c1ba9b8017
commit 03f89d890e
4 changed files with 5 additions and 5 deletions

View File

@ -634,7 +634,7 @@ describe('Article API', () => {
const savedItem = await findLibraryItemByUrl(url, user.id)
expect(savedItem?.archivedAt).to.not.be.null
expect(savedItem?.labels?.map((l) => l.name)).to.eql(labels)
expect(savedItem?.labels?.map((l) => l.name)).to.include.members(labels)
})
})