Add testing modules
Closed this issue · 2 comments
lim-james commented
Description
As the project grows, we need to start adding automated testing into our workflow. At the moment, all testing is done manually and can become quite time consuming. To counter this, I suggest we use a testing framework such as Jest.
Installation
Using npm
npm install --save-dev jest
Set up
The Jest website comes with a very helpful documentation of the steps to getting started. We do not have to follow everything on it, but a few useful sections we should keep in view are
- Using Babel
- Using webpack
- Using TypeScript
lim-james commented
@sophiewongsp can you work on this
lim-james commented
https://www.wisdomgeek.com/development/web-development/how-to-setup-jest-typescript-babel-webpack-project/
Seems like a pretty good and straightforward walkthrough