Rename landing component

This commit is contained in:
2026-05-06 08:29:44 +02:00
parent 243978bfdd
commit 67411ecaff
4 changed files with 9 additions and 9 deletions

View File

@@ -2,9 +2,9 @@ import { readFile } from "node:fs/promises";
import test from "node:test";
import assert from "node:assert/strict";
const componentPath = new URL("../src/components/canva-landing.tsx", import.meta.url);
const componentPath = new URL("../src/components/landing.tsx", import.meta.url);
test("Canva landing component contains the core brief anchors", async () => {
test("Landing component contains the core brief anchors", async () => {
const source = await readFile(componentPath, "utf8");
for (const phrase of ["Projektbrief", "01", "Website", "Kontakt", "für", "müssen", "Änderungen"]) {
@@ -12,7 +12,7 @@ test("Canva landing component contains the core brief anchors", async () => {
}
});
test("Canva landing component uses real German umlauts in visible copy", async () => {
test("Landing component uses real German umlauts in visible copy", async () => {
const source = await readFile(componentPath, "utf8");
for (const asciiFallback of [