From 335e751f32d14745e340ec8cd1855dfb59cb1387 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Tue, 27 Mar 2018 14:43:15 +0300 Subject: [PATCH] Update README. --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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 ```