few broken tests (typos)

This commit is contained in:
Michael Shanks 2020-02-23 21:59:27 +00:00
parent c3223f3523
commit 2d2e14789b
4 changed files with 7 additions and 7 deletions

View File

@ -10,6 +10,6 @@
],
"props": {
"_component": "@budibase/standard-components/container",
"type": "div"
"type": "div"
}
}

View File

@ -4,6 +4,6 @@
"props": {
"_component": "@budibase/standard-components/container",
"className": "",
"type": "div",
"type": "div"
}
}

View File

@ -5,6 +5,6 @@
"componentLibraries": ["./customComponents","./moreCustomComponents"],
"props" : {
"_component": "@budibase/standard-components/container",
"type": "div",
"type": "div"
}
}

View File

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