The One About Slow Jest Tests

The One About Slow Jest Tests

In this episode, we cover "Why is My Jest Test Suite So Slow" by Steven Lemon and completely nerd out on it. This one is chock-full of practical tips for improving your Jest suite time as well as your general understanding of how Jest works "under the hood".

Evan does a "Cookie Corner" and hyper-speaks through a bunch of reasons why you shouldn't use client side cookies. Joe talks about memory leaks while sounding mildly depressed, and we actually have good news this week!

Extra resources for Jest testing:

1. Use the time shell built-in for enhanced timing. time npm run <your test command> --takeyourtime

2. See this issue on why Jest workers are slow sometimes

3. See this issue on why userEvent.type is slow all the time

4. Check out this package for reporting slow individual tests

5. For finding Jest memory leaks, try node --inspect-brk --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage

Tämä jakso on lisätty Podme-palveluun avoimen RSS-syötteen kautta eikä se ole Podmen omaa tuotantoa. Siksi jakso saattaa sisältää mainontaa.

Jaksot(98)

Should Managers Still Code With Mike Crittenden

Should Managers Still Code With Mike Crittenden

In this very special 100th episode we bring in seasoned manager and old friend Mike "Critter" Crittenden and ask him - "Should Managers Still Code?". Critter is a senior manager at Github and managed ...

6 Kesä 202553min

Just Chatting

Just Chatting

We get back into the swing of things with an informal chat mostly about the existential crises of no longer being frontend devs. We dive into topics like the current AI agent hype, how we don't know w...

18 Touko 202538min

Giving a Bleep About Design

Giving a Bleep About Design

Another guest! In this episode, we cover Cap Watkins' "The Sliding Scale of Giving A F*ck" with designer Daniel Casey. This episode is all about a framework of how engineering and design can work toge...

10 Huhti 20251h 6min

The Aspirin Paradox

The Aspirin Paradox

In this episode we cover "Locked doors, headaches, and intellectual need" by Max Kreminski. This article outlines the concept of problem-solution ordering issues and how they are the reason no one und...

18 Maalis 202547min

Neurodiversity & Tech With Shea Belsky

Neurodiversity & Tech With Shea Belsky

We have another guest! This time it's Shea Belsky - host of Autistic Techie, former CTO of Mentra, and long time friend of the show. We dive into how TypeScript can empower neurodivergent engineers an...

11 Maalis 202548min

Everyday Coaching with Aaron Bieber

Everyday Coaching with Aaron Bieber

In this special guest episode, we bring on the definitive best Bieber in the world. Aaron Bieber is a both seasoned technologist and excellent career coach. We talk about the art of listening, how we ...

3 Maalis 20251h 3min

Changing Our Minds On Software Development

Changing Our Minds On Software Development

In this episode we cover "Software development topics I've changed my mind on after 10 years in the industry" by Chris Kiehl. This is a fun one where we riff on things we still believe to be true, thi...

23 Helmi 202537min

Building Complex Software

Building Complex Software

In this episode we cover "How To Write Complex Software" by Grant Slatton. If you've ever struggled wondering how to approach a big problem, this one's for you. We go over a mental framework of "top t...

3 Helmi 202541min