about summary refs log tree commit diff
path: root/jest/test-pds.ts
diff options
context:
space:
mode:
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',