Add troubleshooting instructions.

This commit is contained in:
Oleksii Trekhleb 2021-04-21 17:30:49 +02:00
parent 4ca41ea83b
commit 912941be1d

View File

@ -236,6 +236,7 @@ tree is being used.
## How to use this repository
**Install all dependencies**
```
npm install
```
@ -249,15 +250,26 @@ npm run lint
```
**Run all tests**
```
npm test
```
**Run tests by name**
```
npm test -- 'LinkedList'
```
**Troubleshooting**
In case if linting or testing is failing try to delete the `node_modules` folder and re-install npm packages:
```
rm -rf ./node_modules
npm i
```
**Playground**
You may play with data-structures and algorithms in `./src/playground/playground.js` file and write