Skip to content

mohammad-taheri1/TDD-Interview-JS

Repository files navigation

Interview tasks with test driven development approach using JavaScript and Jest

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

Content:

Done

  • 001- Summary
  • 002- Calculator
  • 003- Fizz-buzz-fizzBuzz
  • 004- Reverse string
  • 005- Reverse integer
  • 006- Is palindrome
  • 007- Integer is palindrome
  • 008- Factorial
  • 009- Factorial with exception
  • 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