import { APP_MODE } from "entities/App"; import AppViewerPageContainer from "pages/AppViewer/AppViewerPageContainer"; import Canvas from "pages/Editor/Canvas"; import IDE from "pages/Editor/IDE"; import React from "react"; import { useSelector } from "react-redux"; import { getCanvasWidgetsStructure } from "@appsmith/selectors/entitiesSelector"; import { useMockDsl } from "./testCommon"; export function MockCanvas() { const canvasWidgetsStructure = useSelector(getCanvasWidgetsStructure); return ; } export function UpdateAppViewer({ dsl }: any) { useMockDsl(dsl, APP_MODE.PUBLISHED); return ; } export function UpdatedEditor({ dsl }: any) { useMockDsl(dsl, APP_MODE.EDIT); return ; }