about summary refs log tree commit diff
path: root/jest/test-pds.ts
diff options
context:
space:
mode:
authorJaz <ericvolp12@gmail.com>2023-05-30 18:25:29 -0700
committerGitHub <noreply@github.com>2023-05-30 18:25:29 -0700
commit09ade363fdcfadb03433385e0c5510bc58438a65 (patch)
tree710af28d1eb7f70acf81f86acb44759439e164fc /jest/test-pds.ts
parent7f76c2d67e62ba2d10e8b17673a7bbcf7248564f (diff)
parente224569a11b82361d782324a63bdfc19d44a3201 (diff)
downloadvoidsky-09ade363fdcfadb03433385e0c5510bc58438a65.tar.zst
Merge branch 'main' into inherit_system_theme
Diffstat (limited to 'jest/test-pds.ts')
-rw-r--r--jest/test-pds.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/jest/test-pds.ts b/jest/test-pds.ts
index a75a0034f..3c14c5531 100644
--- a/jest/test-pds.ts
+++ b/jest/test-pds.ts
@@ -13,6 +13,7 @@ const ADMIN_PASSWORD = 'admin-pass'
 const SECOND = 1000
 const MINUTE = SECOND * 60
 const HOUR = MINUTE * 60
+const DAY = HOUR * 24
 
 export interface TestUser {
   email: string
@@ -66,6 +67,8 @@ export async function createServer(
     adminPassword: ADMIN_PASSWORD,
     inviteRequired,
     didPlcUrl: plcUrl,
+    didCacheMaxTTL: DAY,
+    didCacheStaleTTL: HOUR,
     jwtSecret: 'jwt-secret',
     availableUserDomains: ['.test'],
     appUrlPasswordReset: 'app://forgot-password',