Skip to content

Commit

Permalink
Refactor commands in README. (#4076)
Browse files Browse the repository at this point in the history
Co-authored-by: Priyansh Garg <priyanshgarg30@gmail.com>
  • Loading branch information
konavivekramakrishna and garg3133 committed Mar 4, 2024
1 parent f9615e5 commit 3502e34
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,27 @@ 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
git clone https://github.com/nightwatchjs/nightwatch.git

# change directory
cd nightwatch

# install the dependencies
npm install
```

2. **Run tests**

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.
Expand Down

0 comments on commit 3502e34

Please sign in to comment.