mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +08:00
Update README.
This commit is contained in:
parent
ad0921d05e
commit
335e751f32
17
README.md
17
README.md
@ -1,5 +1,18 @@
|
|||||||
# Data Structures
|
# JavaScript Algorithms and Data Structures
|
||||||
|
|
||||||
|
### Running Tests
|
||||||
|
|
||||||
|
**Run all tests**
|
||||||
```
|
```
|
||||||
npm run babel-node --silent ./src/linked_list
|
npm test
|
||||||
|
```
|
||||||
|
|
||||||
|
**Run tests by name**
|
||||||
|
```
|
||||||
|
npm test -- -t 'LinkedList'
|
||||||
|
```
|
||||||
|
|
||||||
|
**Run tests from specific file**
|
||||||
|
```
|
||||||
|
npm test -- ./src/data-structures/linked-list/__test__/LinkedList.test.js
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user