Technical requirements
We will use the following technologies in this chapter:
- Node.js and npm: You can install them from https://nodejs.org/en/download/
- Visual Studio Code: You can install it from https://code.visualstudio.com/
We will start with a modified version of the code we finished in the last chapter. The modified code contains logic extracted into pure functions, which will be ideal to use in the first tests we write. This code can be found online at https://github.com/PacktPublishing/Learn-React-with-TypeScript-2nd-Edition/tree/main/Chapter12/start.
Carry out the following steps to download this to your local computer:
- Go to https://download-directory.github.io/ in a browser.
- In the textbox on the web page, enter the following URL: https://github.com/PacktPublishing/Learn-React-with-TypeScript-2nd-Edition/tree/main/Chapter12/start.
- Press the Enter key. A ZIP file containing the
start
folder will now be downloaded. - Extract the ZIP...