aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-07-28 02:59:01 +0200
committerChocobozzz <me@florianbigard.com>2018-08-01 10:57:13 +0200
commit7160878c4a7650261e476f08d031ea71fe38bd34 (patch)
tree7defda125e500dbd75600d3f63e4f693d70e8ca8 /server/tests/utils
parent991feec9a3f371e28274884f7635dc2e57dca284 (diff)
downloadPeerTube-7160878c4a7650261e476f08d031ea71fe38bd34.tar.gz
PeerTube-7160878c4a7650261e476f08d031ea71fe38bd34.tar.zst
PeerTube-7160878c4a7650261e476f08d031ea71fe38bd34.zip
adding tests for audio conversions
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/videos/videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts
index a9d449c58..b280cccda 100644
--- a/server/tests/utils/videos/videos.ts
+++ b/server/tests/utils/videos/videos.ts
@@ -523,7 +523,7 @@ async function completeVideoCheck (
523 const minSize = attributeFile.size - ((10 * attributeFile.size) / 100) 523 const minSize = attributeFile.size - ((10 * attributeFile.size) / 100)
524 const maxSize = attributeFile.size + ((10 * attributeFile.size) / 100) 524 const maxSize = attributeFile.size + ((10 * attributeFile.size) / 100)
525 expect(file.size, 525 expect(file.size,
526 'File size for resolution ' + file.resolution.label + ' outside confidence interval.') 526 'File size for resolution ' + file.resolution.label + ' outside confidence interval (' + minSize + '> size <' + maxSize + ')')
527 .to.be.above(minSize).and.below(maxSize) 527 .to.be.above(minSize).and.below(maxSize)
528 528
529 { 529 {