Rename legacy storefront app and references to carplace
Build & Push / Build & Push Docker Image (push) Failing after 10m39s
Build & Push / Build & Push Docker Image (push) Failing after 10m39s
Replace storefront naming across source, tests, docs, config, and production scripts. Rename the legacy top-level app directory and Carplace component files, remove duplicate storefront startup scripts, and refresh the lockfile.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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('<SiteNavbar')
|
||||
expect(source).toContain('<SiteFooter')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user