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.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/jest/test-pds.ts b/jest/test-pds.ts
index 2fe623ca9..bfcc970c2 100644
--- a/jest/test-pds.ts
+++ b/jest/test-pds.ts
@@ -156,7 +156,7 @@ class Mocker {
   }
 
   async createUser(name: string) {
-    const agent = new BskyAgent({service: this.agent.service})
+    const agent = new BskyAgent({service: this.service})
 
     const inviteRes = await agent.api.com.atproto.server.createInviteCode(
       {useCount: 1},
@@ -332,7 +332,7 @@ class Mocker {
   }
 
   async createInvite(forAccount: string) {
-    const agent = new BskyAgent({service: this.agent.service})
+    const agent = new BskyAgent({service: this.service})
     await agent.api.com.atproto.server.createInviteCode(
       {useCount: 1, forAccount},
       {