few broken tests (typos)
This commit is contained in:
parent
82f0063243
commit
4fb30835cd
|
@ -10,6 +10,6 @@
|
|||
],
|
||||
"props": {
|
||||
"_component": "@budibase/standard-components/container",
|
||||
"type": "div"
|
||||
"type": "div"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"props": {
|
||||
"_component": "@budibase/standard-components/container",
|
||||
"className": "",
|
||||
"type": "div",
|
||||
"type": "div"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"componentLibraries": ["./customComponents","./moreCustomComponents"],
|
||||
"props" : {
|
||||
"_component": "@budibase/standard-components/container",
|
||||
"type": "div",
|
||||
"type": "div"
|
||||
}
|
||||
}
|
|
@ -9,7 +9,7 @@ const screen1 = require("../appPackages/testApp/pages/main/screens/screen1.json"
|
|||
const screen2 = require("../appPackages/testApp/pages/main/screens/screen2.json")
|
||||
const { readJSON, pathExists, unlink, readFile } = require("fs-extra")
|
||||
const { getHashedCssPaths } = require("../utilities/builder/convertCssToFiles")
|
||||
const listScreens = require("../utilities/builder/listScreens");
|
||||
const listScreens = require("../utilities/builder/listScreens")
|
||||
|
||||
const app = require("./testApp")()
|
||||
testComponents.textbox.name = `./customComponents/textbox`
|
||||
|
@ -48,8 +48,8 @@ it("/apppackage should get pages", async () => {
|
|||
.get("/_builder/api/testApp/appPackage")
|
||||
.expect(statusCodes.OK)
|
||||
expect(body.pages).toEqual({
|
||||
main: mainPage,
|
||||
unauthenticated: unauthenticatedPage,
|
||||
main: { ...mainPage, name: "main" },
|
||||
unauthenticated: { ...unauthenticatedPage, name: "unauthenticated" },
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -217,4 +217,4 @@ it("/savePage should prepare all necessary client files", async () => {
|
|||
)
|
||||
expect(savedScreen2Css).toEqual(screen2Css)
|
||||
expect(indexHtmlMain.includes(screen2CssPaths.url)).toBe(true)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue