home.social

#jest — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jest, aggregated by home.social.

  1. A quotation from Samuel Johnson

    Merriment is always the effect of a sudden impression. The jest which is expected is already destroyed.

    Samuel Johnson (1709-1784) English writer, lexicographer, critic
    Essay (1759-05-26), The Idler, No. 58

    More about this quote: wist.info/johnson-samuel/20598…

    #quote #quotes #quotation #qotd #samueljohnson #expectations #humor #jest #joke #merriment #reaction #surprise

  2. A quotation from Samuel Johnson

    Merriment is always the effect of a sudden impression. The jest which is expected is already destroyed.

    Samuel Johnson (1709-1784) English writer, lexicographer, critic
    Essay (1759-05-26), The Idler, No. 58

    More about this quote: wist.info/johnson-samuel/20598…

    #quote #quotes #quotation #qotd #samueljohnson #expectations #humor #jest #joke #merriment #reaction #surprise

  3. A quotation from Samuel Johnson

    Merriment is always the effect of a sudden impression. The jest which is expected is already destroyed.

    Samuel Johnson (1709-1784) English writer, lexicographer, critic
    Essay (1759-05-26), The Idler, No. 58

    More about this quote: wist.info/johnson-samuel/20598…

    #quote #quotes #quotation #qotd #samueljohnson #expectations #humor #jest #joke #merriment #reaction #surprise

  4. A quotation from Samuel Johnson

    Merriment is always the effect of a sudden impression. The jest which is expected is already destroyed.

    Samuel Johnson (1709-1784) English writer, lexicographer, critic
    Essay (1759-05-26), The Idler, No. 58

    More about this quote: wist.info/johnson-samuel/20598…

    #quote #quotes #quotation #qotd #samueljohnson #expectations #humor #jest #joke #merriment #reaction #surprise

  5. Narasimha is the fourth incarnation of the #Hindu god Wishnu. For reasons, rage is a key trait of Narasimha, especially early in the incarnation. #trivia

    Yesterday (Thursday) was "Narasimha Jayanthi", the birthday of Narasimha. The occasion is observed with pomp in Waisnavite locations across #India.

    I of course attended the Narasimha Jayanthi festivities in #Udupi. Of the many people I encountered, two were rather rude and directed some anger at me, which I thought I didn't deserve. Still, I handled one of them right, which is by ignoring them; but I think I responded a wee bit in kind to the second. 😳

    Needless to say, those two interactions left a bitter taste in me, but I later consoled myself that maybe it was just that Narasimha cast his shadow on some people that day, what with him having just been born. 😀

    PS: Anyway, enjoy this presentation of Udupi Krishna on the special day:

    mastodon.social/@nityakrishna/

    #jest #life

  6. QA в CI/CD: как перестать гонять тесты руками и настроить это один раз

    Разбираю как выглядит нормальный QA-пайплайн в GitHub Actions: от линтинга до E2E тестов на Playwright. С рабочими конфигами, кэшированием и уведомлениями о падениях.

    habr.com/ru/articles/1021592/

    #GitHub_Actions #QA #автотесты #Playwright #Jest #DevOps #пайплайн #тестирование

  7. [Перевод] 37 советов и приемов по написанию качественных тестов для фронтенда

    Мне нравится писать тесты. Написание теста и последующее обновление кода для его прохождения — всегда увлекательный процесс. Но нет ничего хуже, чем выяснение того, что проверяют существующие тесты (раньше я сам часто был автором таких тестов). Представляю вашему вниманию мои советы по написанию высококачественных тестов для фронтенда.

    habr.com/ru/companies/timeweb/

    #javascript #js #testing #test #jest #vitest #timeweb_статьи_перевод #тестирование #тест #tdd

  8. Как я тестирую API: чеклист и подходы, и автоматизация

    Открыл Postman, потыкал эндпоинты, всё ответило 200 — вряд-ли хорошее тестирование Разбираю что на самом деле нужно проверять в API, показываю примеры на Postman и Jest, и даю чеклист который можно взять и использовать прямо сейчас.

    habr.com/ru/articles/1015576/

    #API_тестирование #Postman #Jest #QA #автотесты #REST_API #чеклист #тесткейсы #автоматизация_тестирования #axios

  9. Testing Node.js APIs With Jest: A Frontend Developer’s Guide to Backend Testing, by (not on Mastodon or Bluesky):

    sitepoint.com/testing-nodejs-a

    #guides #testing #nodejs #apis #jest

  10. #jest is fun to work with, but its mock objects aren't as intuitive as the ones of other languages' testing libs.
    #javascript

  11. De la transe libanaise de Sanam au groove d’Atlanta, l’ultime Jest de l’Ami à Marseille

    Jeudi soir au Petit Cab de La Friche, le festival Jest (Jamais d’eux sans toi), curieux et aventureux,…
    #Marseille #FR #France #Actu #News #Europe #EU #2025 #actu #Actualités #Culture #d'Atlanta #europe #groove #Jest #l'ultime #libanaise #Provence-Alpes-Côted'Azur #Républiquefrançaise #Sanam #transe
    europesays.com/fr/569657/

  12. [Перевод] Ускорение крупномасштабной миграции тестов с помощью LLM

    Airbnb недавно завершила первую крупномасштабную миграцию кода под управлением LLM: мы обновили почти 3,5 тысячи файлов тестов React-компонентов, переведя их с Enzyme на React Testing Library (RTL). По первоначальным оценкам ручная работа заняла бы 1,5 года инженерного времени, но — используя сочетание передовых моделей и надёжной автоматизации — миграция завершилась всего за 6 недель. В этой статье я расскажу о сложностях, с которыми мы столкнулись при переходе с Enzyme на RTL, почему LLM отлично подходят для такого рода задач и как мы спроектировали инструменты миграции, чтобы запускать LLM-управляемую миграцию в масштабах всей кодовой базы.

    habr.com/ru/companies/otus/art

    #qa #миграция_тестов #react_testing_library #Jest #ретраи #покрытие_кода #автоматизация_миграций #LLM #TypeScript

  13. @zachleat

    Still cached. Still rocking the exploit.

    #jest download after 6pm eastern still delivering 64k of injected who-knows-what

  14. @zachleat

    I think we're quickly heading to a point where it will be a requirement.

    Ppl doing strategic forks (fork, contribute, but republish with provenance) will help drive this. Ppl with bigger budgets have to drive this for bigger packages.

    I cant believe packages like #jest have the dep supply chain they have. That's major.

    We gotta get better.

  15. Расследуем самое длинное issue в Jest

    Привет! Меня зовут Никита, я старший фронтенд-инженер в Ozon Tech и я разрабатываю кабинет рекламодателя. Однажды мы попытались обновить версию Node.js и нашли баг, который затянулся на два года и вовлёк в себя команды Jest, Node.js и V8.

    habr.com/ru/companies/ozontech

    #jest #v8 #nodejs #node

  16. Module Hoisting!
    Was ist denn das? Das ist das was uns in Jest und Vitest Tests mit ziemlicher Regelmäßigkeit auf die Füße fällt!
    In guter Tradition haben wir da nen Video zu gemacht!

    youtu.be/WPqg7-T1GVA?feature=s

    Schaut doch mal rein!

    #javascript #vite #vitest #jest #typescript #frontend

  17. Скриншот-тестирование фронтенда: руководство по применению в 2025 году

    В мире тестирования фронтенд-приложений существует одна забавная особенность. Визуальное представление нашей программы почти всегда остается вне зоны покрытия тестами, даже несмотря на то, что фронтенд-разработка это в первую очередь про визуал. Если посмотреть на то как пишут тесты на типичном проекте, то в основном это будут юнит-тесты проверяющие внутреннюю специфику компонентов или отдельных функций плюс какие-нибудь е2е-тесты проверяющие отдельные сценарии. Чаще всего все эти тесты полностью игнорируют визуальную составляющую, и в случаях если у вас слетели шрифты, отступы, или просто html-элемент скрыт стилями, то тесты все-равно будут зелеными. Часто приходилось видеть тесты опосредовано проверяющие визуальное отображение html-элемента, что-то в стиле expect(elem.classList.contains("visible")).toBe(true) . Говорить о надежности таких тестов конечно-же не приходится, так как изменив содержимое css-селектора стилизующий данный класс, данный тест все еще будет зелёным, несмотря на то что по факту элемент будет скрыт. Результат от подобных тестов вполне ожидаемый. Обновили версию UI-библиотеки и на всем проекте поехала верстка? Тесты зелёные. Случайно переопределили CSS-переменную и теперь вместо приятной тщательно подобранной дизайнером гаммы цветов вы видите лишь кислотно-вырвиглазную солянку? “Бывает, надо было ручками протестировать” - скажет менеджер. Решить данную проблему нам поможет добавление скриншот-тестирования на проект. Используя данный вид тестирования вкупе с классическими юнит- и е2е-тестами мы практически полностью избавляемся от необходимости ручного тестирования наших фронтенд-приложений.

    habr.com/ru/articles/925162/

    #screenshotbased_метод_тестирования #test_driven_development #testng #puppeteer #jest

  18. Since I'm stubborn, I couldn't let it go. I spent more time on this yesterday evening and this morning, trying to build a very minimal project similar to mine and start the whole config from scratch: basic build, then tests, then more advanved build, then typescript.

    And I got something to work. For now, my solution involves #esbuild, #typescript and #jest. With #esmodules 😍

  19. another great morning with another PR merged to @rushstack ,
    The PR brings NODE_ENV variable management to #heft #jest plugin!
    #development #programming #rushstack #typescript

    github.com/microsoft/rushstack

    Thanks to @octogonz and others for your patience and feedback!

  20. 👨‍💻 I'm building an app with as little #JavaScript as possible (only sending and receiving push notifications). I don't use any framework, and everything else is handled by the server.

    ❓ Now I'm wondering how to handle #testing. Does it make sense to do #UnitTesting for a few lines of JavaScript? How do you handle that? Do you only do #E2ETesting in such cases?

    💭 I was already thinking about using #JSDom in #Jest, but the #HTML is generated by #Symfony, making it hard to get it in there…

  21. Added tests to Tram-Lite, using 🎉

    In the past, I've usually leaned on and but even for this super simple library, Cypress was easy, incredibly fast, and better reflects the actual behavior of the browser.

    I understand for libraries it feels like unit-tests should be the go to, but over time I've realized that e2e forces you to put your library in real scenarios, rather than fake / idealized scenarios that might not happen.