aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-channel-syncs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-channel-syncs.ts')
-rw-r--r--server/tests/api/videos/video-channel-syncs.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/api/videos/video-channel-syncs.ts b/server/tests/api/videos/video-channel-syncs.ts
index 65b143a4f..5c0663311 100644
--- a/server/tests/api/videos/video-channel-syncs.ts
+++ b/server/tests/api/videos/video-channel-syncs.ts
@@ -1,3 +1,5 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2
1import { expect } from 'chai' 3import { expect } from 'chai'
2import { FIXTURE_URLS } from '@server/tests/shared' 4import { FIXTURE_URLS } from '@server/tests/shared'
3import { areHttpImportTestsDisabled } from '@shared/core-utils' 5import { areHttpImportTestsDisabled } from '@shared/core-utils'
@@ -76,6 +78,7 @@ describe('Test channel synchronizations', function () {
76 }) 78 })
77 79
78 expect(video.name).to.equal('small video - youtube') 80 expect(video.name).to.equal('small video - youtube')
81 expect(video.waitTranscoding).to.be.true
79 82
80 const { total } = await servers[0].videos.listByChannel({ handle: 'root_channel', include: VideoInclude.NOT_PUBLISHED_STATE }) 83 const { total } = await servers[0].videos.listByChannel({ handle: 'root_channel', include: VideoInclude.NOT_PUBLISHED_STATE })
81 expect(total).to.equal(1) 84 expect(total).to.equal(1)
@@ -109,6 +112,7 @@ describe('Test channel synchronizations', function () {
109 }) 112 })
110 expect(total).to.equal(2) 113 expect(total).to.equal(2)
111 expect(data[0].name).to.equal('test') 114 expect(data[0].name).to.equal('test')
115 expect(data[0].waitTranscoding).to.be.true
112 } 116 }
113 }) 117 })
114 118