mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix tests
This commit is contained in:
parent
bab343c41f
commit
f5205c4b1b
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ describe('/article/save API', () => {
|
|||
// We need to mock the pupeeteer-parse
|
||||
// service here because in dev mode the task gets
|
||||
// called immediately.
|
||||
nock(env.queue.contentFetchUrl).post('/').reply(200)
|
||||
if (env.queue.contentFetchUrl) {
|
||||
nock(env.queue.contentFetchUrl).post('/').reply(200)
|
||||
}
|
||||
|
||||
before(async () => {
|
||||
// create test user and login
|
||||
|
|
|
|||
Loading…
Reference in a new issue