import { makeAppObjectRepo } from "@vived/core";
import { setupStandardFramedScreen } from "./setupStandardFramedScreen";
describe("setupStandardFramedScreen", () => {
    it("Defaults to adding the StandardLayoutUC", () => {
        const appObjects = makeAppObjectRepo();
        const ao = setupStandardFramedScreen(appObjects);
        expect(ao.hasComponent("StandardLayoutUC")).toBe(true);
    });
    it("Does not add the StandardLayoutUC if the option is set to true", () => {
        const appObjects = makeAppObjectRepo();
        const ao = setupStandardFramedScreen(appObjects, {
            dontSetupLayoutHook: true,
        });
        expect(ao.hasComponent("StandardLayoutUC")).toBe(false);
    });
    it("Adds the StandardLayoutUC if the option is set to false", () => {
        const appObjects = makeAppObjectRepo();
        const ao = setupStandardFramedScreen(appObjects, {
            dontSetupLayoutHook: false,
        });
        expect(ao.hasComponent("StandardLayoutUC")).toBe(true);
    });
    it("Adds the StandardLayoutUC if the option is not set", () => {
        const appObjects = makeAppObjectRepo();
        const ao = setupStandardFramedScreen(appObjects, {});
        expect(ao.hasComponent("StandardLayoutUC")).toBe(true);
    });
});
//# sourceMappingURL=setupStandardFramedScreen.test.js.map