diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-29 11:51:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-29 12:33:19 +0100 |
commit | b1f5b93e4f1a9ae9015463c9a4946722ed87ec2e (patch) | |
tree | ab437e41a497aa388775d32369d8fe6bdf309e3b /server/tests/utils/miscs | |
parent | a20399c972d7f9512f77a654773f9c160db07d5c (diff) | |
download | PeerTube-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.ts | 4 |
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 |
31 | function dateIsValid (dateString: string, interval = 120000) { | 31 | function 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 | ||