javascript-algorithms/README.md

26 lines
659 B
Markdown
Raw Normal View History

2018-03-27 19:43:15 +08:00
# JavaScript Algorithms and Data Structures
2018-03-26 04:28:32 +08:00
2018-03-28 14:41:20 +08:00
[![Build Status](https://travis-ci.org/trekhleb/javascript-algorithms.svg?branch=master)](https://travis-ci.org/trekhleb/javascript-algorithms)
2018-03-27 20:14:57 +08:00
## Data Structures
2018-03-27 20:18:04 +08:00
- [Linked List](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/linked-list)
2018-03-28 14:29:47 +08:00
- [Hash Table](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/hash-table)
2018-03-27 20:14:57 +08:00
2018-03-27 20:18:28 +08:00
## Running Tests
2018-03-27 19:43:15 +08:00
**Run all tests**
```
npm test
```
**Run tests by name**
```
npm test -- -t 'LinkedList'
```
**Run tests from specific file**
2018-03-26 04:28:32 +08:00
```
2018-03-27 19:43:15 +08:00
npm test -- ./src/data-structures/linked-list/__test__/LinkedList.test.js
2018-03-26 04:28:32 +08:00
```