Skip to content

Commit

Permalink
Correct anchor to specific tests section.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jan 25, 2024
1 parent 1badbff commit dfce473
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Running Specific Tests](##Running-Specific-Tests)
- [Running Specific Tests](#Running-Specific-Tests)
- [Implementation](#implementation)
- [Docker Integration (TODO)](#docker-integration-todo)
- [Contribute](#contribute)
Expand All @@ -31,10 +31,10 @@ npm test
```

### Running Specific Tests
This suite uses [mocha.js](https://mochajs.org/#command-line-usage) for the tests.
Mocha has multiple options for filtering which tests run.
This suite uses [mocha.js](https://mochajs.org) as the test runner.
Mocha has [multiple options](https://mochajs.org/#command-line-usage) for filtering which tests run.

This snippet below uses grep to filter tests by name and only runs one of the test suites.
For example, the snippet below uses grep to filter tests by name and only runs one of the test suites.
```bash
mocha --grep '"specificProperty" test name' ./tests/10-specific-test-suite.js
```
Expand Down

0 comments on commit dfce473

Please sign in to comment.