diff options
Diffstat (limited to 'server/tests/utils/miscs/miscs.ts')
-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 | ||