diff --git a/README.md b/README.md index 033b2daa..4ea678ad 100644 --- a/README.md +++ b/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 ```