diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-07 08:53:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:19:33 +0200 |
commit | bafaba0bcda0c9fb553b9eebef3764994bb4ff60 (patch) | |
tree | bff9a580cda865cd81c91cd5e1b7b527df45dac1 /server/tests/api | |
parent | f162d32da098aa55f6de2367142faa166edb7c08 (diff) | |
download | PeerTube-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.ts | 2 |
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' |