Logo
Why do programmers prefer dark mode? Because light attracts bugs!
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Jest Memes

Posts tagged with Jest

Mock Frontend Newbie Jobs

Testing Javascript Programming Frontend Webdev
2 months ago 334.9K views 0 shares
Mock Frontend Newbie Jobs
Junior dev discovers Jest mocking and suddenly thinks they're a testing god because they made 2+3=5 pass by... mocking the math module. Yeah, let's just mock away the entire function we're supposed to be testing. What's next, mocking the test itself? This is peak "I wrote tests" energy without understanding that mocking add to return 5 when testing if add(2, 3) equals 5 is like bringing your own answer key to an exam. You're not testing your code, you're just... lying to yourself with extra steps. The hiring manager looking at this portfolio is having a Dipper Pines moment realizing this "100% test coverage" is completely worthless. But hey, at least the tests are green! 🎉

Today's picks

Too Real

Too Real

Programming
7.6M views 4 days ago
The 6 stages of debugging for programmers Canvas Art Poster and Wall Art Picture Print Modern Family Bedroom Decor 8x12inch Unframed

The 6 stages of debugging for programmers Canvas Art Poster and Wall Art Picture Print Modern Family Bedroom Decor 8x12inch Unframed

Affiliate
$13.50
Do You Even UDP Brah

Do You Even UDP Brah

Networking
583.2K views 1 year ago