mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add test cases
This commit is contained in:
parent
b26e15c5d6
commit
4d255a12a7
1 changed files with 2 additions and 2 deletions
|
|
@ -608,12 +608,12 @@ describe('Article API', () => {
|
|||
})
|
||||
})
|
||||
|
||||
context('when the source is rss-feeder', () => {
|
||||
context('when the source is rss-feeder and url is from youtube.com', () => {
|
||||
const source = 'rss-feeder'
|
||||
const stub = sinon.stub(createTask, 'enqueueParseRequest')
|
||||
|
||||
before(() => {
|
||||
url = 'https://blog.omnivore.app/new-url-3'
|
||||
url = 'https://www.youtube.com/watch?v=123'
|
||||
})
|
||||
|
||||
after(async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue