@@ -68,7 +68,7 @@ describe("Head", () => {
6868 date = { "" }
6969 description = { "" }
7070 cookieConsentColor = { "303F9F" }
71- />
71+ /> ,
7272 ) ;
7373
7474 const helmet = Helmet . peek ( ) ;
@@ -85,13 +85,13 @@ describe("Head", () => {
8585 date = { "" }
8686 description = { "" }
8787 cookieConsentColor = { "303F9F" }
88- />
88+ /> ,
8989 ) ;
9090
9191 const helmet = Helmet . peek ( ) ;
9292
9393 expect ( helmet . title ) . toEqual (
94- "Fabrizio Duroni | Fabrizio Duroni ‘Chicio Coding’"
94+ "Fabrizio Duroni | Fabrizio Duroni ‘Chicio Coding’" ,
9595 ) ;
9696 } ) ;
9797 } ) ;
@@ -106,7 +106,7 @@ describe("Head", () => {
106106 date = { "" }
107107 description = { "" }
108108 cookieConsentColor = { "303F9F" }
109- />
109+ /> ,
110110 ) ;
111111
112112 const helmet = Helmet . peek ( ) ;
@@ -124,7 +124,7 @@ describe("Head", () => {
124124 date = { "" }
125125 description = { "" }
126126 cookieConsentColor = { "303F9F" }
127- />
127+ /> ,
128128 ) ;
129129
130130 const helmet = Helmet . peek ( ) ;
@@ -145,7 +145,7 @@ describe("Head", () => {
145145 date = { "" }
146146 description = { "" }
147147 cookieConsentColor = { "303F9F" }
148- />
148+ /> ,
149149 ) ;
150150
151151 const helmet = Helmet . peek ( ) ;
@@ -179,7 +179,7 @@ describe("Head", () => {
179179 date = { "" }
180180 description = { "" }
181181 cookieConsentColor = { "#303F9F" }
182- />
182+ /> ,
183183 ) ;
184184
185185 const helmet = Helmet . peek ( ) ;
@@ -195,7 +195,7 @@ describe("Head", () => {
195195 {
196196 type : "text/javascript" ,
197197 innerHTML :
198- "\nif (typeof window !== \"undefined\") {\n window.addEventListener('load', () => { \n window.cookieconsent.initialise({\n palette: {\n popup: {\n background: '#303F9F',\n text: '#ffffff'\n },\n button: {\n background: '#0F67FF',\n text: '#ffffff'\n }\n },\n theme: 'classic',\n content: {\n dismiss: 'Ok',\n href: window.location.protocol + '//' + window.location.host + '/cookie-policy/',\n message: 'This website uses cookies to ensure you get the best experience.',\n link: 'Learn more about cookie policy'\n }\n });\n });\n} else {\n console.log(\"no cookieconsent\");\n} \n" ,
198+ "\nvar url = new URL(window.location.href);\nif (typeof window !== \"undefined\" && !url.searchParams.has(\"app\")) {\n window.addEventListener('load', () => { \n window.cookieconsent.initialise({\n palette: {\n popup: {\n background: '#303F9F',\n text: '#ffffff'\n },\n button: {\n background: '#0F67FF',\n text: '#ffffff'\n }\n },\n theme: 'classic',\n content: {\n dismiss: 'Ok',\n href: window.location.protocol + '//' + window.location.host + '/cookie-policy/',\n message: 'This website uses cookies to ensure you get the best experience.',\n link: 'Learn more about cookie policy'\n }\n });\n });\n} else {\n console.log(\"no cookieconsent\");\n} \n" ,
199199 } ,
200200 {
201201 type : "application/ld+json" ,
@@ -214,7 +214,7 @@ describe("Head", () => {
214214 date = { "" }
215215 description = { "" }
216216 cookieConsentColor = { "303F9F" }
217- />
217+ /> ,
218218 ) ;
219219
220220 const helmet = Helmet . peek ( ) ;
0 commit comments