Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

добавляем первые тесты для простых блоков #156

Open
atherdon opened this issue Jul 12, 2022 · 3 comments
Assignees

Comments

@atherdon
Copy link
Collaborator

в файле blockquote я добавил пример такого теста.
мы не сможем скопировать его и вставить во все файлы тестов которые у нас есть, ничего не сломав.

одна из проблем - некоторые регулярки работают с несколькими строками. и вставлять их в тест неудобно.

поэтому мы будем идти step-by-step, добавлять такие тесты

выберите 7 файлов для которых вам кажется легко сделать тест на подобии того, что есть в blockquote.
скиньте ссылки на эти файлы в этот таск, чтобы мы могли обсудить их.

посути у нас будет меняться название константы и строка с которой мы будем сравниваться

@atherdon
Copy link
Collaborator Author

ul будет сложно, но остальные файлы можно попробывать добавить тесты

@Olgalex
Copy link
Collaborator

Olgalex commented Aug 1, 2022

AD Link: https://bit.ly/3pGj1Zq

AD Copy: Buy NordVPN's 2-year plan and get +3 months for free.

They want to change this AD Copy to: Black Friday ONLY! Buy NordVPN's 2-year plan and get +3 months FREE

around 55 percent of specialists

Explain me, please, how can I add the content to test.js file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants