summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cdn/tests/server.test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/cdn/tests/server.test.js b/cdn/tests/server.test.js
index 77d2b949..13046034 100644
--- a/cdn/tests/server.test.js
+++ b/cdn/tests/server.test.js
@@ -17,7 +17,7 @@ if (process.env.STORAGE_PROVIDER === "file") {
 }
 
 const { CDNServer } = require("../dist/Server");
-const { db, Config } = require("@fosscord/util");
+const { Config } = require("@fosscord/util");
 const supertest = require("supertest");
 const request = supertest("http://localhost:3003");
 const server = new CDNServer({ port: Number(process.env.PORT) || 3003 });
@@ -28,7 +28,6 @@ beforeAll(async () => {
 });
 
 afterAll(() => {
-	db.close();
 	return server.stop();
 });