Back to Browse

Testing a TypeScript File Read / Write operations app using Jest JS, Mocks, Unit Tests

13.2K views
Jul 27, 2020
33:28

In this video, I run through how I tested a TypeScript application that reads and writes files to the disk. It's an interesting challenge and results in using jest mocks and the node tmpdir functions. If you like this video please like and subscribe. I'll be producing more videos in the coming days! DevBootstrap Github Repo: https://github.com/devbootstrap/SOLID-Principles-Examples-using-Typescript/tree/master/conclusion/tests/src Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;) BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2 ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2 Many thanks everyone and I appreciate your support in any way!

Download

1 formats

Video Formats

360pmp445.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Testing a TypeScript File Read / Write operations app using Jest JS, Mocks, Unit Tests | NatokHD