Simple steps to setup a typescript project from scratch.
- npm init
- git init
- Describe Node.js version used within .nvmrc
- Install Jest dependency for testing
- Follow documentation (add babel.config.js)
- Install dependencies
- Add script to run tests with yarn test
- Add simple test sum.spec.ts
- Add test using Jest Mock over an external library (Axios) in http-service.spec.ts