Getting TypeScript to Help With Mocks (090)

1 year ago
1

Quick Note to Help Speed Up Your Tests

You can dramatically speed up your tests by updating the package.json file.

In the scripts section, find the following line:

"test:watch": "jest --watch",

And change it to:

"test:watch": "jest --watch --maxWorkers=1",

Restart your test runner at your terminal after making this change

DONATE TO THE SHOW!!!
Donate any amount - https://bit.ly/2XmweLc

About Daniel Cortes:
Daniel Cortes has been building complex JavaScript front ends for top organizations in the South for the past five years. With an innate ability to simplify complex topics, Daniel has been mentoring engineers on the job.

He also started the urban farm Microurb Farms in 2017. His mission with Microurb Farms is to show others how they can grow a lot of food on a small plot of land and even making a living from it if you so desire right from your own backyard.
_______
Music commonly used on this channel:

Sweeps - https://www.youtube.com/c/SweepsBeats
http://birocratic.com / @birocratic
http://www.davidcuttermusic.com / @dcuttermusic
www.otismacmusic.com / @OtisMacMusic

Loading comments...