import { describe, it, expect } from '@jest/globals'; import React from 'react'; import { renderToStaticMarkup } from 'react-dom/server'; /** * The storefront and admin footers add "Powered by EverShop", linking to * evershop.io in a new tab, when `themeConfig.showPoweredBy` is true; never * next to a store owner's own copyright text. On the storefront it shares one * centered line with the copyright, the only core content of `footerBottom`. */ const { AppProvider } = await import('../../../../components/common/context/app.js'); const { Footer } = await import('../../../../components/frontStore/Footer.js'); const base = await import('../../../base/pages/frontStore/all/Base.js'); const adminCopyRight = await import('../../pages/admin/all/CopyRight.js'); const AdminCopyRight = adminCopyRight.default; const app = { config: { pageMeta: { route: { id: 'homepage' } } }, widgets: [], propsMap: {} } as unknown as React.ComponentProps['value']; const storefront = (props: React.ComponentProps) => renderToStaticMarkup(