🚨 NEWS: Jest testing JavaScript e TypeScript completo: guida operativa

Ecco i punti chiave in breve:
💡 Hai scritto una funzione, l'hai testata a mano in console.log, sembra funzionare, la mandi in produzione e dopo due giorni arriva la segnalazione: “non funziona quando l'input è negativo”. Lo vediamo...

🚀 LINK: https://meteoraweb.com/analisi-dei-dati-e-metriche/jest-testing-javascript-e-typescript-completo-guida-operativa-h3txh

#unitTest #cI/CD #jest #testingJavaScript #typeScriptTesting

Вы неправильно тестируете асинхронный код: тест проходит раньше, чем выполняется проверка

В статье разберём, как именно раннер решает, что тест прошёл, почему .then без return выполняется уже после теста, почему try/catch в async‑тесте — частый источник ложного зелёного, что не так с forEach и setTimeout внутри тестов и какие инструменты не дают тесту соврать. Примеры на Jest, но контракт у Mocha, vitest и прочих тот же.

https://habr.com/ru/companies/otus/articles/1036208/

#асинхронное_тестирование #автотесты #Jest #JavaScript #Promise #ложноположительные_тесты #unitтесты #тестраннер #APIтестирование

Вы неправильно тестируете асинхронный код: тест проходит раньше, чем выполняется проверка

Привет, Хабр! Самая распространённая ошибка в тестировании асинхронного кода — уверенность, что зелёный тест означает «проверка внутри отработала и прошла». Вы написали test(...) ,...

Хабр
Creative Parenting Activity #27: Tell jokes. Start by finding topics that appeal to your child. Then encourage your child to write their own. Use their presentation as an opportunity to build public speaking skills.... https://rons-home.net/en/living-life-lab/tool-box/creative-parenting-activity/activity-of-the-week/2026/05/12 #joke #jest #prank #stunt [Next Tip May 19 2026]
Activity #27 :: Activity Of The Week :: Creative Parenting Activity :: Life Skills Tool Box :: Living Life Lab :: Ron's Home

May 12th 2026 edition.

【初心者】React + Supabaseでデジタル名刺アプリを4日で作ってみた - Qiita

はじめに 現在JISOUに入って3か月です! React + Supabaseでデジタル名刺アプリを作成しました! ソースコード↓ 作成したもの デジタル名刺アプリ 【ホーム画面】 【名刺新規登録画面】 【名刺画面】 【機能】 デジタル名刺を作成...

Qiita

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

Johnson, Samuel - Essay (1759-05-26), The Idler, No. 58 | WIST Quotations

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

WIST Quotations

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:

https://mastodon.social/@nityakrishna/116493815658401252

#jest #life

Thanks, white boy!
... but my dick ain't THAT big.

#meme #joke #jesus #jest #jesus_christ

Making Our Frontend Unit Tests Much Faster With @ swc/jest, by (not on Mastodon or Bluesky):

https://tech.small-improvements.com/making-our-frontend-unit-tests-much-faster-with-swc-jest/

#testing #jest #swc #performance

Making Our Frontend Unit Tests Much Faster with @swc/jest · Small Improvements Tech Blog

We were annoyed with the slow performance of our frontend unit tests, so we made them much faster! It turned out that swapping out the test runner is an easy and efficient way to keep the migration effort low, while reaping the benefits of much faster execution times.

Small Improvements Tech Blog
Making Our Frontend Unit Tests Much Faster with @swc/jest · Small Improvements Tech Blog

We were annoyed with the slow performance of our frontend unit tests, so we made them much faster! It turned out that swapping out the test runner is an easy and efficient way to keep the migration effort low, while reaping the benefits of much faster execution times.

Small Improvements Tech Blog

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

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

https://habr.com/ru/articles/1021592/

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

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

Большинство команд тестируют примерно так: разработчик что-то поправил, QA вручную прошёлся по основным сценариям, выглядит нормально — деплоим. Проблема в том, что это не масштабируется. Чем больше...

Хабр