diff --git a/src/steps/writeReadme/generateTopContent.test.ts b/src/steps/writeReadme/generateTopContent.test.ts index 2003ed049..a3861d4ec 100644 --- a/src/steps/writeReadme/generateTopContent.test.ts +++ b/src/steps/writeReadme/generateTopContent.test.ts @@ -5,24 +5,24 @@ import { generateTopContent } from "./generateTopContent.js"; const optionsBase = { access: "public", - description: "", + description: "Test description", directory: ".", email: { github: "github@email.com", npm: "npm@email.com", }, mode: "create", - owner: "", - repository: "", - title: "", + owner: "test-owner", + repository: "test-repository", + title: "Test Title", } satisfies Options; describe("findExistingBadges", () => { it("generates full contents when there are no existing badges", () => { expect(generateTopContent(optionsBase, [])).toMatchInlineSnapshot(` - "
+ "Test description
@@ -30,21 +30,21 @@ describe("findExistingBadges", () => {
-
-
-
+
+
+
-
+
Test description
@@ -67,21 +67,21 @@ describe("findExistingBadges", () => {
-
-
-
+
+
+
-
+
Test description
@@ -104,22 +104,22 @@ describe("findExistingBadges", () => {
-
-
-
+
+
+
-
+
Test description
@@ -139,12 +139,12 @@ describe("findExistingBadges", () => {
-
-
-
+
+
+
-
+