Removing unused test and directory.

This commit is contained in:
mike12345567 2021-03-15 20:45:16 +00:00
parent ef5049ccc7
commit d99b6b48a8
1 changed files with 0 additions and 26 deletions

View File

@ -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")
})
})