Skip to content

Commit

Permalink
Correct Mocha import instructions (#1611)
Browse files Browse the repository at this point in the history
* Correct Mocha usage instructions

* Use long options

Improve understandability of instructions
  • Loading branch information
MattiSG authored Mar 13, 2024
1 parent 61159d1 commit 91e58ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ import { expect, use } from 'chai'; // Creates local variables `expect` and `us
### Usage with Mocha

```bash
mocha spec.js -r chai/register-assert # Using Assert style
mocha spec.js -r chai/register-expect # Using Expect style
mocha spec.js -r chai/register-should # Using Should style
mocha spec.js --require chai/register-assert.js # Using Assert style
mocha spec.js --require chai/register-expect.js # Using Expect style
mocha spec.js --require chai/register-should.js # Using Should style
```

[Read more about these styles in our docs](http://chaijs.com/guide/styles/).
Expand Down

0 comments on commit 91e58ed

Please sign in to comment.