mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove test change
This commit is contained in:
parent
49cce94b29
commit
d7801eb202
1 changed files with 6 additions and 6 deletions
|
|
@ -97,15 +97,15 @@ describe('ArticleSavingRequest API', () => {
|
|||
).to.eql(ArticleSavingRequestStatus.Processing)
|
||||
})
|
||||
|
||||
it('returns an error if the url is invalid', async () => {
|
||||
const res = await graphqlRequest(
|
||||
createArticleSavingRequestMutation('invalid url'),
|
||||
it('creates a library item in db', async () => {
|
||||
const url = 'https://blog.omnivore.app/1'
|
||||
await graphqlRequest(
|
||||
createArticleSavingRequestMutation('https://blog.omnivore.app/1'),
|
||||
authToken
|
||||
).expect(200)
|
||||
|
||||
expect(res.body.data.createArticleSavingRequest.errorCodes).to.eql([
|
||||
CreateArticleSavingRequestErrorCode.BadData,
|
||||
])
|
||||
const item = await findLibraryItemByUrl(url, user.id)
|
||||
expect(item?.readableContent).to.eql('Your link is being saved...')
|
||||
})
|
||||
|
||||
it('returns an error if the url is invalid', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue