aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-07 08:53:14 +0200
committerChocobozzz <me@florianbigard.com>2023-06-29 10:19:33 +0200
commitbafaba0bcda0c9fb553b9eebef3764994bb4ff60 (patch)
treebff9a580cda865cd81c91cd5e1b7b527df45dac1 /server/tests/api
parentf162d32da098aa55f6de2367142faa166edb7c08 (diff)
downloadPeerTube-bafaba0bcda0c9fb553b9eebef3764994bb4ff60.tar.gz
PeerTube-bafaba0bcda0c9fb553b9eebef3764994bb4ff60.tar.zst
PeerTube-bafaba0bcda0c9fb553b9eebef3764994bb4ff60.zip
Support lazy download of remote video miniatures
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/video-imports.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts
index a684a55a0..4f3149d52 100644
--- a/server/tests/api/videos/video-imports.ts
+++ b/server/tests/api/videos/video-imports.ts
@@ -119,7 +119,7 @@ describe('Test video imports', function () {
119 expect(video.name).to.equal('small video - youtube') 119 expect(video.name).to.equal('small video - youtube')
120 120
121 { 121 {
122 expect(video.thumbnailPath).to.match(new RegExp(`^/static/thumbnails/.+.jpg$`)) 122 expect(video.thumbnailPath).to.match(new RegExp(`^/lazy-static/thumbnails/.+.jpg$`))
123 expect(video.previewPath).to.match(new RegExp(`^/lazy-static/previews/.+.jpg$`)) 123 expect(video.previewPath).to.match(new RegExp(`^/lazy-static/previews/.+.jpg$`))
124 124
125 const suffix = mode === 'yt-dlp' 125 const suffix = mode === 'yt-dlp'