aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/miscs
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-29 11:51:55 +0100
committerChocobozzz <me@florianbigard.com>2017-12-29 12:33:19 +0100
commitb1f5b93e4f1a9ae9015463c9a4946722ed87ec2e (patch)
treeab437e41a497aa388775d32369d8fe6bdf309e3b /server/tests/utils/miscs
parenta20399c972d7f9512f77a654773f9c160db07d5c (diff)
downloadPeerTube-b1f5b93e4f1a9ae9015463c9a4946722ed87ec2e.tar.gz
PeerTube-b1f5b93e4f1a9ae9015463c9a4946722ed87ec2e.tar.zst
PeerTube-b1f5b93e4f1a9ae9015463c9a4946722ed87ec2e.zip
Refractor check video tests
Diffstat (limited to 'server/tests/utils/miscs')
-rw-r--r--server/tests/utils/miscs/miscs.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/miscs/miscs.ts b/server/tests/utils/miscs/miscs.ts
index 2147a07ff..2c51d1f0a 100644
--- a/server/tests/utils/miscs/miscs.ts
+++ b/server/tests/utils/miscs/miscs.ts
@@ -27,8 +27,8 @@ function readdirPromise (path: string) {
27 }) 27 })
28} 28}
29 29
30 // Default interval -> 2 minutes 30 // Default interval -> 5 minutes
31function dateIsValid (dateString: string, interval = 120000) { 31function dateIsValid (dateString: string, interval = 300000) {
32 const dateToCheck = new Date(dateString) 32 const dateToCheck = new Date(dateString)
33 const now = new Date() 33 const now = new Date()
34 34