Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohammad-taheri1/tdd-interview-js


https://github.com/mohammad-taheri1/tdd-interview-js

interview interview-preparation javascript jest tdd-javascript testing

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Interview tasks with `test driven development` approach using JavaScript and Jest
![GitHub last commit](https://img.shields.io/github/last-commit/MamadTaheri/TDD-Interview-JS)
![GitHub Repo stars](https://img.shields.io/github/stars/MamadTaheri/TDD-Interview-JS?style=social)
![GitHub package.json version](https://img.shields.io/github/package-json/v/MamadTaheri/TDD-Interview-JS)
![GitHub](https://img.shields.io/github/license/MamadTaheri/TDD-Interview-JS)

## [Youtube Playlist of this repository](https://www.youtube.com/playlist?list=PLUX0GmrifrweqUwn0nHamSFEPc9L3zXF6)

## 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:

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

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

```bash
npm install
```

### How to Run the tests

Use one of the following commands to run your tests:

```bash
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
```