@@ -30,7 +30,7 @@ describe('defineArticle', () => {
3030 expect ( client . graphNodes ) . toMatchInlineSnapshot ( `
3131 [
3232 {
33- "@id": "https://example.com/#/schema/image/3248500182 ",
33+ "@id": "https://example.com/#/schema/image/eI7JYdUrdY ",
3434 "@type": "ImageObject",
3535 "contentUrl": "https://example.com/my-image.png",
3636 "inLanguage": "en-AU",
@@ -44,7 +44,7 @@ describe('defineArticle', () => {
4444 "description": "test",
4545 "headline": "test",
4646 "image": {
47- "@id": "https://example.com/#/schema/image/3248500182 ",
47+ "@id": "https://example.com/#/schema/image/eI7JYdUrdY ",
4848 },
4949 "inLanguage": "en-AU",
5050 "thumbnailUrl": "https://example.com/my-image.png",
@@ -75,15 +75,17 @@ describe('defineArticle', () => {
7575
7676 expect ( article ?. headline ) . toEqual ( 'Article headline' )
7777 expect ( article ?. description ) . toEqual ( 'my article description' )
78- expect ( article ?. image ) . toEqual ( {
79- '@id' : 'https://example.com/#/schema/image/1656904464' ,
80- } )
78+ expect ( article ?. image ) . toMatchInlineSnapshot ( `
79+ {
80+ "@id": "https://example.com/#/schema/image/maGcIV09t0",
81+ }
82+ ` )
8183
8284 expect ( client . graphNodes . length ) . toEqual ( 2 )
8385 expect ( client . graphNodes ) . toMatchInlineSnapshot ( `
8486 [
8587 {
86- "@id": "https://example.com/#/schema/image/1656904464 ",
88+ "@id": "https://example.com/#/schema/image/maGcIV09t0 ",
8789 "@type": "ImageObject",
8890 "contentUrl": "https://example.com/image.png",
8991 "inLanguage": "en-AU",
@@ -97,7 +99,7 @@ describe('defineArticle', () => {
9799 "description": "my article description",
98100 "headline": "Article headline",
99101 "image": {
100- "@id": "https://example.com/#/schema/image/1656904464 ",
102+ "@id": "https://example.com/#/schema/image/maGcIV09t0 ",
101103 },
102104 "inLanguage": "en-AU",
103105 "thumbnailUrl": "https://example.com/image.png",
@@ -228,12 +230,12 @@ describe('defineArticle', () => {
228230 // @ts -expect-error untyped
229231 const id = articleNode . author [ '@id' ]
230232
231- expect ( id ) . toEqual ( 'https://example.com/#/schema/person/1230192103 ' )
233+ expect ( id ) . toEqual ( 'https://example.com/#/schema/person/x29kfkAXdv ' )
232234
233- const person = client . findNode ( 'https://example.com/#/schema/person/1230192103 ' )
235+ const person = client . findNode ( 'https://example.com/#/schema/person/x29kfkAXdv ' )
234236 expect ( person ) . toMatchInlineSnapshot ( `
235237 {
236- "@id": "https://example.com/#/schema/person/1230192103 ",
238+ "@id": "https://example.com/#/schema/person/x29kfkAXdv ",
237239 "@type": "Person",
238240 "name": "Harlan Wilton",
239241 "url": "https://harlanzw.com",
@@ -270,20 +272,20 @@ describe('defineArticle', () => {
270272 expect ( client . graphNodes ) . toMatchInlineSnapshot ( `
271273 [
272274 {
273- "@id": "https://example.com/#/schema/image/3248500182 ",
275+ "@id": "https://example.com/#/schema/image/eI7JYdUrdY ",
274276 "@type": "ImageObject",
275277 "contentUrl": "https://example.com/my-image.png",
276278 "inLanguage": "en-AU",
277279 "url": "https://example.com/my-image.png",
278280 },
279281 {
280- "@id": "https://example.com/#/schema/person/1870976560 ",
282+ "@id": "https://example.com/#/schema/person/t3ho9AFmi4 ",
281283 "@type": "Person",
282284 "name": "John doe",
283285 "url": "https://harlanzw.com",
284286 },
285287 {
286- "@id": "https://example.com/#/schema/person/2970758057 ",
288+ "@id": "https://example.com/#/schema/person/4gh9pCDFUz ",
287289 "@type": "Person",
288290 "name": "Jane doe",
289291 "url": "https://harlanzw.com",
@@ -308,18 +310,18 @@ describe('defineArticle', () => {
308310 "@type": "Article",
309311 "author": [
310312 {
311- "@id": "https://example.com/#/schema/person/1870976560 ",
313+ "@id": "https://example.com/#/schema/person/t3ho9AFmi4 ",
312314 },
313315 {
314- "@id": "https://example.com/#/schema/person/2970758057 ",
316+ "@id": "https://example.com/#/schema/person/4gh9pCDFUz ",
315317 },
316318 ],
317319 "dateModified": "2021-11-10T10:10:10.000Z",
318320 "datePublished": "2021-11-10T10:10:10.000Z",
319321 "description": "test",
320322 "headline": "test",
321323 "image": {
322- "@id": "https://example.com/#/schema/image/3248500182 ",
324+ "@id": "https://example.com/#/schema/image/eI7JYdUrdY ",
323325 },
324326 "inLanguage": "en-AU",
325327 "isPartOf": {
0 commit comments