Don't use conditionals inside the head #98
Annotations
5 errors and 1 warning
src/lib/components/Head/__tests__/Head.test.ts > Head > renders meta tags:
src/lib/components/Head/__tests__/Head.test.ts#L13
Error: Snapshot `Head > renders meta tags 1` mismatched
- Expected
+ Received
<head>
<title>
Remix CMS - The easiest way to manage content with Remix
</title>
-
+
<meta
content="Remix CMS - The easiest way to manage content with Remix"
property="og:title"
/>
-
+
<meta
content="Remix CMS - The easiest way to manage content with Remix"
name="twitter:title"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
name="description"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
property="og:description"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
name="twitter:description"
/>
-
+
<meta
content="https://www.datocms-assets.com/205/1642515293-full-logo.svg?fit=max&fm=jpg&w=1000"
property="og:image"
/>
-
+
<meta
content="746"
property="og:image:width"
/>
-
+
<meta
content="186"
property="og:image:height"
/>
-
+
<meta
content="https://www.datocms-assets.com/205/1642515293-full-logo.svg?fit=max&fm=jpg&w=1000"
name="twitter:image"
/>
-
+
<meta
content="en"
property="og:locale"
/>
-
+
<meta
content="article"
property="og:type"
/>
-
+
<meta
content="DatoCMS"
property="og:site_name"
/>
-
+
<meta
content="2022-01-18T14:02:47Z"
property="article:modified_time"
/>
-
+
<meta
content="summary_large_image"
name="twitter:card"
/>
-
+
<meta
content="@datocms"
name="twitter:site"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=16&w=16"
rel="icon"
sizes="16x16"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=32&w=32"
rel="icon"
sizes="32x32"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=96&w=96"
rel="icon"
sizes="96x96"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=192&w=192"
rel="icon"
sizes="192x192"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=57&w=57"
rel="apple-touch-icon"
sizes="57x57"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=60&w=60"
rel="apple-touch-icon"
sizes="60x60"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=72&w=72"
rel="apple-touch-icon"
sizes="72x72"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=76&w=76"
rel="apple-touch-icon"
sizes="76x76"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=114&w=114"
rel="apple-touch-icon"
sizes="114x114"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=120&w=120"
rel="apple-touch-icon"
sizes="120x120"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=144&w=144"
rel="apple-touch-icon"
sizes="144x144"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=152&w=152"
rel="apple-touch-icon"
sizes="152x152"
/>
-
+
<link
href="https://www.datocms-assets.com/2
|
build (18.x)
Process completed with exit code 1.
|
build (20.x)
The job was canceled because "_18_x" failed.
|
src/lib/components/Head/__tests__/Head.test.ts > Head > renders meta tags:
src/lib/components/Head/__tests__/Head.test.ts#L13
Error: Snapshot `Head > renders meta tags 1` mismatched
- Expected
+ Received
<head>
<title>
Remix CMS - The easiest way to manage content with Remix
</title>
-
+
<meta
content="Remix CMS - The easiest way to manage content with Remix"
property="og:title"
/>
-
+
<meta
content="Remix CMS - The easiest way to manage content with Remix"
name="twitter:title"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
name="description"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
property="og:description"
/>
-
+
<meta
content="Remix makes building scalable and fast React apps simple, pair it with a CMS that shares the same intuitiveness. Start a new Remix + Dato project now."
name="twitter:description"
/>
-
+
<meta
content="https://www.datocms-assets.com/205/1642515293-full-logo.svg?fit=max&fm=jpg&w=1000"
property="og:image"
/>
-
+
<meta
content="746"
property="og:image:width"
/>
-
+
<meta
content="186"
property="og:image:height"
/>
-
+
<meta
content="https://www.datocms-assets.com/205/1642515293-full-logo.svg?fit=max&fm=jpg&w=1000"
name="twitter:image"
/>
-
+
<meta
content="en"
property="og:locale"
/>
-
+
<meta
content="article"
property="og:type"
/>
-
+
<meta
content="DatoCMS"
property="og:site_name"
/>
-
+
<meta
content="2022-01-18T14:02:47Z"
property="article:modified_time"
/>
-
+
<meta
content="summary_large_image"
name="twitter:card"
/>
-
+
<meta
content="@datocms"
name="twitter:site"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=16&w=16"
rel="icon"
sizes="16x16"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=32&w=32"
rel="icon"
sizes="32x32"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=96&w=96"
rel="icon"
sizes="96x96"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=192&w=192"
rel="icon"
sizes="192x192"
type="image/png"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=57&w=57"
rel="apple-touch-icon"
sizes="57x57"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=60&w=60"
rel="apple-touch-icon"
sizes="60x60"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=72&w=72"
rel="apple-touch-icon"
sizes="72x72"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=76&w=76"
rel="apple-touch-icon"
sizes="76x76"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=114&w=114"
rel="apple-touch-icon"
sizes="114x114"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=120&w=120"
rel="apple-touch-icon"
sizes="120x120"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=144&w=144"
rel="apple-touch-icon"
sizes="144x144"
/>
-
+
<link
href="https://www.datocms-assets.com/205/1525789775-dato.png?h=152&w=152"
rel="apple-touch-icon"
sizes="152x152"
/>
-
+
<link
href="https://www.datocms-assets.com/2
|
build (20.x)
Process completed with exit code 1.
|
build (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|