QLFW-5: разделы фонда и новости на трёх языках #18
@ -37,7 +37,7 @@ describe('Разделы и языки', () => {
|
|||||||
const html = renderToStaticMarkup(await Contacts({ params }))
|
const html = renderToStaticMarkup(await Contacts({ params }))
|
||||||
expect(html).toContain('mailto:qazaqlegacy@gmail.com')
|
expect(html).toContain('mailto:qazaqlegacy@gmail.com')
|
||||||
expect(html).toContain('https://www.instagram.com/serkebayev_book/')
|
expect(html).toContain('https://www.instagram.com/serkebayev_book/')
|
||||||
expect(html).toContain(`/${locale}/privacy`)
|
expect(html).not.toContain(`/${locale}/privacy`)
|
||||||
expect(html).toContain('<form')
|
expect(html).toContain('<form')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user