mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont process youtube videos in this test
This commit is contained in:
parent
fef28d1c6a
commit
e9b15ebb06
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ import {
|
|||
saveLabelsInLibraryItem,
|
||||
} from '../db'
|
||||
import { generateFakeUuid, graphqlRequest, request } from '../util'
|
||||
import { processYouTubeVideo } from '../../src/jobs/process-youtube-video'
|
||||
|
||||
chai.use(chaiString)
|
||||
|
||||
|
|
@ -640,6 +641,7 @@ describe('Article API', () => {
|
|||
context('when the source is rss-feeder and url is from youtube.com', () => {
|
||||
const source = 'rss-feeder'
|
||||
const stub = sinon.stub(createTask, 'enqueueParseRequest')
|
||||
const stub2 = sinon.stub(createTask, 'enqueueProcessYouTubeVideo')
|
||||
|
||||
before(() => {
|
||||
url = 'https://www.youtube.com/watch?v=123'
|
||||
|
|
|
|||
Loading…
Reference in a new issue