forked from tsai/budibase
1 changed files with 0 additions and 16 deletions
@ -1,16 +0,0 @@ |
|||||
const setup = require("./utilities") |
|
||||
|
|
||||
describe("test things in the Cloud/Self hosted", () => { |
|
||||
describe("test self hosted static page", () => { |
|
||||
it("should be able to load the static page", async () => { |
|
||||
await setup.switchToCloudForFunction(async () => { |
|
||||
let request = setup.getRequest() |
|
||||
let config = setup.getConfig() |
|
||||
await config.init() |
|
||||
const res = await request.get(`/`).expect(200) |
|
||||
expect(res.text.includes("<title>Budibase self hosting️</title>")).toEqual(true) |
|
||||
setup.afterAll() |
|
||||
}) |
|
||||
}) |
|
||||
}) |
|
||||
}) |
|
||||
Loading…
Reference in new issue