QLFW-5: тест контактов учитывает скрытие ссылок на неполные юридические тексты
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 2с
peppa/test test: success за 1с
peppa/build build: success за 44с
ci / checks (pull_request) Successful in 1m24s
deploy / deploy (pull_request) Successful in 2m14s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Peppa 2026-11-17 18:28:36 +05:00
parent fcadf00689
commit 13350c5c5b

View File

@ -37,7 +37,7 @@ describe('Разделы и языки', () => {
const html = renderToStaticMarkup(await Contacts({ params }))
expect(html).toContain('mailto:qazaqlegacy@gmail.com')
expect(html).toContain('https://www.instagram.com/serkebayev_book/')
expect(html).toContain(`/${locale}/privacy`)
expect(html).not.toContain(`/${locale}/privacy`)
expect(html).toContain('<form')
})
}