29

I fucking HATE testing JavaScript. It's such fucking bullshit. I've been struggling to test one simple functionality for multiple hours. It's probably one stupid thing I can't figure out, so I hope some sleep will grant me a fresh look tomorrow.

Also it's absolute bullshit the amount of libraries and dependencies you need to have to get some proper scalable tests going. Jasmine, Babel, ES2015, yarn/npm (because Jenkins is too fucking old to handle yarn). React, react test helpers, webpack. The list continues. FUCK OFF!

Comments
  • 1
    What are you writing then?
  • 5
    Basically when a react component gets clicked that the page redirects to a certain view. A bit blasphemous, I know. Even worse is that it's only temporary, but I got so fucking side tracked by this bitch. Seriously. How hard can it be?

    I guess it's interesting to find out though. Hopefully I'll learn some stuff along the way.
  • 0
  • 1
    @Jifuna Crayola by the sounds of it
Add Comment