niji-co/Fusion-Web

Add testing modules

Closed this issue · 2 comments

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

@sophiewongsp can you work on this