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, 1 insertions, 2 deletions
diff --git a/jest/test-pds.ts b/jest/test-pds.ts
index 1c52d944c..2fe623ca9 100644
--- a/jest/test-pds.ts
+++ b/jest/test-pds.ts
@@ -114,8 +114,7 @@ export async function createServer(
     pdsUrl,
     mocker: new Mocker(testNet, pdsUrl, pic),
     async close() {
-      await testNet.pds.server.destroy()
-      await testNet.plc.server.destroy()
+      await testNet.close()
     },
   }
 }