mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-05 00:23:59 +08:00
Update README.
This commit is contained in:
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
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user