import fs from 'node:fs' import { fileURLToPath } from 'node:url' import { describe, expect, it } from 'vitest' describe('carplace public page layout', () => { it('keeps the navbar and footer in reusable component modules', () => { const layoutPath = fileURLToPath(new URL('./SitePageLayout.tsx', import.meta.url)) const source = fs.readFileSync(layoutPath, 'utf8') expect(source).toContain("import SiteNavbar from './SiteNavbar'") expect(source).toContain("import SiteFooter from './SiteFooter'") expect(source).toContain('