Logo
Build time: When coffee becomes code.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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
1 month ago 322.7K 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

BONTEC Dual Monitor Desk Mount, Full Motion Adjustable Monitor Stand for 13โ€“27 Inch Screens, Heavy Duty Arms Hold Up to 22 lbs Each, VESA 75x75/100x100 mm, C Clamp and Grommet Base, Cable Management

BONTEC Dual Monitor Desk Mount, Full Motion Adjustable Monitor Stand for 13โ€“27 Inch Screens, Heavy Duty Arms Hold Up to 22 lbs Each, VESA 75x75/100x100 mm, C Clamp and Grommet Base, Cable Management

Affiliate
$26.99
If All The Other Programmers Jumped Off Abridge Would You Jump Too

If All The Other Programmers Jumped Off Abridge Would You Jump Too

Programming
73.6K views 1 year ago
Scary Stuff!

Scary Stuff!

Programming
61.9K views 4 years ago