From 05b3a2fe1c44a2501d11a0e827fe8aadc800d8c3 Mon Sep 17 00:00:00 2001 From: vivek Date: Mon, 4 Mar 2024 12:56:53 +0530 Subject: [PATCH 1/3] Update README with instructions for cloning --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 97a018dbe9..2d6b080412 100644 --- a/README.md +++ b/README.md @@ -97,9 +97,14 @@ The tests for Nightwatch are written using Mocha. 1. **Clone the project** ```bash - $ git clone https://github.com/nightwatchjs/nightwatch.git - $ cd nightwatch - $ npm install + # clone the project + git clone https://github.com/nightwatchjs/nightwatch.git + + # change the directory + cd nightwatch + + # install the dependencies + npm install ``` 2. **Run tests** @@ -107,13 +112,13 @@ The tests for Nightwatch are written using Mocha. To run the complete test suite: ```bash - $ npm test + npm test ``` To check test coverage, run the command: ```bash - $ npm run mocha-coverage + npm run mocha-coverage ``` and then open the generated coverage/index.html file in your browser. From 6c18e55000ac67bdaefe05f8db890b185c052241 Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Mon, 4 Mar 2024 13:35:39 +0530 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d6b080412..53ff47d2a6 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ The tests for Nightwatch are written using Mocha. # clone the project git clone https://github.com/nightwatchjs/nightwatch.git - # change the directory + # change directory cd nightwatch # install the dependencies From d6dbb0987c93abe805d26337f7c82c79663cb58f Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Mon, 4 Mar 2024 13:36:53 +0530 Subject: [PATCH 3/3] Remove project clone comment --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 53ff47d2a6..bc338e51bb 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,6 @@ The tests for Nightwatch are written using Mocha. 1. **Clone the project** ```bash - # clone the project git clone https://github.com/nightwatchjs/nightwatch.git # change directory