diff --git a/src/components/Card/Card.astro b/src/components/Card/Card.astro index 6ac263d..b988c78 100644 --- a/src/components/Card/Card.astro +++ b/src/components/Card/Card.astro @@ -12,27 +12,30 @@ const { hostname } = new URL(url); const qrCode: string = await generateQRCode(url); --- - + + + diff --git a/src/components/Card/__snapshots__/Card.test.ts.snap b/src/components/Card/__snapshots__/Card.test.ts.snap index 11d5128..6a7f16b 100644 --- a/src/components/Card/__snapshots__/Card.test.ts.snap +++ b/src/components/Card/__snapshots__/Card.test.ts.snap @@ -1,5 +1,67 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`Card > Valid URL > Default 1`] = `"
"`; +exports[`Card > Valid URL > Default 1`] = ` +" " +`; + +exports[`Card > Valid URL > SubDomain 1`] = ` +" " +`; diff --git a/tests/__snapshots__/index.test.ts.snap b/tests/__snapshots__/index.test.ts.snap index c4a5e0d..3193b84 100644 --- a/tests/__snapshots__/index.test.ts.snap +++ b/tests/__snapshots__/index.test.ts.snap @@ -15,5 +15,34 @@ exports[`Index 1`] = ` 🏞️ Sometimes drawing pixel art.">
Souma's avatar

Souma

💻 Japanese minimalistic engineer who loves small tools to make daily life fun. -🏞️ Sometimes drawing pixel art.

" +🏞️ Sometimes drawing pixel art.

" `;