diff --git a/packages/server/src/selfhost/tests/setup.spec.js b/packages/server/src/selfhost/tests/setup.spec.js deleted file mode 100644 index 13eeda0b1b..0000000000 --- a/packages/server/src/selfhost/tests/setup.spec.js +++ /dev/null @@ -1,26 +0,0 @@ -const selfhost = require("..") -const env = require("../../environment") - -describe("test the setup process", () => { - beforeAll(() => { - env.SELF_HOSTED = true - }) - - beforeEach(async () => { - await selfhost.init() - }) - - afterAll(() => { - env.SELF_HOSTED = false - }) - - it("getSelfHostInfo", async () => { - let info = await selfhost.getSelfHostInfo() - expect(info._id).toEqual("self-host-info") - }) - - it("getSelfHostAPIKey", async () => { - let apiKey = await selfhost.getSelfHostAPIKey() - expect(typeof apiKey).toEqual("string") - }) -}) \ No newline at end of file