few broken tests (typos)
This commit is contained in:
parent
82f0063243
commit
4fb30835cd
|
@ -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" },
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue