aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/videos/video-imports.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts
index 37c459d76..b6168b54e 100644
--- a/server/tests/api/videos/video-imports.ts
+++ b/server/tests/api/videos/video-imports.ts
@@ -2,7 +2,7 @@
2 2
3import 'mocha' 3import 'mocha'
4import { expect } from 'chai' 4import { expect } from 'chai'
5import { pathExists, remove } from 'fs-extra' 5import { pathExists, readdir, remove } from 'fs-extra'
6import { join } from 'path' 6import { join } from 'path'
7import { 7import {
8 areHttpImportTestsDisabled, 8 areHttpImportTestsDisabled,
@@ -416,7 +416,11 @@ describe('Test video imports', function () {
416 416
417 await quickPeerTubeImport() 417 await quickPeerTubeImport()
418 418
419 expect(await pathExists(join(server.servers.buildDirectory('bin'), releaseName))).to.be.true 419 const base = server.servers.buildDirectory('bin')
420 const content = await readdir(base)
421 const binaryPath = join(base, releaseName)
422
423 expect(await pathExists(binaryPath), `${binaryPath} does not exist in ${base} (${content.join(', ')})`).to.be.true
420 } 424 }
421 425
422 before(async function () { 426 before(async function () {