Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 465 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 465 Bytes

Goal of this repository

Simple steps to setup a typescript project from scratch.

Typescript project setup

  • 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