TDD-Interview-JS icon indicating copy to clipboard operation
TDD-Interview-JS copied to clipboard

Interview tasks with test driven development approach using JavaScript and Jest

GitHub last commit GitHub Repo stars GitHub package.json version GitHub

Youtube Playlist of this repository

Content:

Done

  • [X] 001- Summary
  • [X] 002- Calculator
  • [X] 003- Fizz-buzz-fizzBuzz
  • [X] 004- Reverse string
  • [X] 005- Reverse integer
  • [X] 006- Is palindrome
  • [X] 007- Integer is palindrome
  • [X] 008- Factorial
  • [X] 009- Factorial with exception
  • [X] 010- Array factorial with exception

In progress

  • [ ] Fibonacci with exception
  • [ ] Valid parenthesis
  • [ ] Character counter
  • [ ] Maximum Characters
  • [ ] Anagrams
  • [ ] Stack
  • [ ] Queue

How to download and install required libraries

Run the following commands to start using this repository:

1- Clone the repository using the following command:

git clone https://github.com/MamadTaheri68/TDD-Interview-JS.git

2- Change directory to TDD-Interview-JS and run the following command:

npm install

How to Run the tests

Use one of the following commands to run your tests:

npm run test
npm run test:watch
npm run test:watchAll
npm run test:watchAll
npm run test:cov
npm run liveTest
npm run fullTest