unit test with: mocha, chai, @types/mocha, axios-mock-adapter, chai-as-promised, @types/chai-as-promised
web application router with: expressjs, @types/express
typescript with: typescript, ts-loader, ts-node and @types/****
http client with: axios
logs with: log4js
command line interface with: nyc
hot loader with: nodemon
is the main testing framework in this test suite. It provides functions to execute tests and handle logging test results to the terminal.
is an assertion library commonly used with Mocha.
We use assertions to verify that the component that is being tested returns the value itβs expected to return for a particular test case.
functions like it and describe are a part of Mocha. Assertions we make inside these functions, like expect(isSuccess).to.be.true, come from the Chai library.