Fix extra declarations
This commit is contained in:
parent
185d55a3f4
commit
7053472347
|
@ -45,7 +45,7 @@ describe("Internal API - /applications endpoints", () => {
|
||||||
|
|
||||||
it("POST - Publish application", async () => {
|
it("POST - Publish application", async () => {
|
||||||
// create app
|
// create app
|
||||||
const [response, app] = await config.applications.create(generateApp())
|
const app = await config.applications.create(generateApp())
|
||||||
|
|
||||||
// publish app
|
// publish app
|
||||||
config.applications.api.appId = app.appId
|
config.applications.api.appId = app.appId
|
||||||
|
@ -61,9 +61,7 @@ describe("Internal API - /applications endpoints", () => {
|
||||||
it("POST - Create an application from a template, publish and check it renders", async () => {
|
it("POST - Create an application from a template, publish and check it renders", async () => {
|
||||||
// create the app
|
// create the app
|
||||||
const appName = generator.word()
|
const appName = generator.word()
|
||||||
const [response, app] = await createAppFromTemplate()
|
const app = await createAppFromTemplate()
|
||||||
expect(response).toHaveStatusCode(200)
|
|
||||||
expect(app.appId).toBeDefined()
|
|
||||||
config.applications.api.appId = app.appId
|
config.applications.api.appId = app.appId
|
||||||
|
|
||||||
// check preview renders
|
// check preview renders
|
||||||
|
|
Loading…
Reference in New Issue