Simple project to use for technical interviews in TypeScript. Just clone the repo, open in your IDE of choice, and use Jest to execute.
Node/npm are required. See .nvmrc for recommended node version. It is recommended to use Node Version Manager with shell integration if possible.
- Clone this repo locally
- Run
npm ci
to install dependencies - Edit src/interview.ts in your IDE of choice, or create a new file under src
- Edit src/interview.test.ts to implement unit tests
- In a terminal run
npm test
which will automatically re-run unit tests as your source files change - In a terminal run
npm run test:coverage
which will run all unit tests and calculate/report test coverage