clarify mocha test exclusion
This commit is contained in:
parent
a8e59ccd3d
commit
37c53f2e09
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ $ npm run build && npm test
|
||||||
|
|
||||||
You can make the test suite run faster by isolating the specific test or block
|
You can make the test suite run faster by isolating the specific test or block
|
||||||
you're currently working on using Mocha's
|
you're currently working on using Mocha's
|
||||||
[exclusive tests](https://mochajs.org/#exclusive-tests) feature:
|
[exclusive tests](https://mochajs.org/#exclusive-tests) feature. Just append
|
||||||
|
`.only` to any `describe` or `it` function call:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
describe.only('some feature', function () {
|
describe.only('some feature', function () {
|
||||||
|
|
Loading…
Reference in a new issue