diff --git a/test/unit/saveArticles.test.ts b/test/unit/saveArticles.test.ts index 085a92c9..48fc593e 100644 --- a/test/unit/saveArticles.test.ts +++ b/test/unit/saveArticles.test.ts @@ -88,7 +88,7 @@ describe('saveArticles', () => { // Successfully scrapped existent articles expect(articleDoc.querySelector('meta[name="geo.position"]')).toBeDefined() // Geo Position data is correct - expect(articleDoc.querySelector('meta[name="geo.position"]')?.getAttribute('content')).toEqual('51.5;-0.13333333') + expect(articleDoc.querySelector('meta[name="geo.position"]')?.getAttribute('content')).toEqual('51.50722222;-0.1275') // Check if header exists expect(articleDoc.querySelector('h1.article-header, h1.pcs-edit-section-title')).toBeTruthy() }) diff --git a/test/unit/treatments/article.treatment.test.ts b/test/unit/treatments/article.treatment.test.ts index caaf5f19..a212c08f 100644 --- a/test/unit/treatments/article.treatment.test.ts +++ b/test/unit/treatments/article.treatment.test.ts @@ -94,7 +94,7 @@ describe('ArticleTreatment', () => { // Successfully scrapped existent articles expect(articleDoc.querySelector('meta[name="geo.position"]')).toBeDefined() // Geo Position data is correct - expect(articleDoc.querySelector('meta[name="geo.position"]')?.getAttribute('content')).toEqual('51.5;-0.13333333') + expect(articleDoc.querySelector('meta[name="geo.position"]')?.getAttribute('content')).toEqual('51.50722222;-0.1275') }) } })