Skip to content

Commit

Permalink
apply more feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
shimks committed Mar 5, 2018
1 parent bd11e98 commit cd2413c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pages/en/lb4/Testing-your-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ integrates these packages and makes them easy to use together with LoopBack.

### Set up testing infrastructure with LoopBack CLI

LoopBack applications that have been generated by `lb4 app` or `lb4`
from `@loopback/cli` come with `@loopback/testlab` as a
developer dependency along with `mocha` (which is available through a CLI
prompt and enabled by default) so no other setup of testing infrastructure
is needed.
LoopBack application that have been generated using the `lb4 app` command from
`@loopback/cli` come with `@loopback/testlab` and `mocha` as a default,
so no other testing infrastructure setup is needed.

### Setup testing infrastructure manually

Expand All @@ -79,7 +77,7 @@ Your `package.json` should then look something like this:
"mocha": "^<current-version>"
},
"scripts": {
"test": "mocha --recursive \"DIST/test\""
"test": "mocha --recursive \"dist/test\""
}
// ...
}
Expand Down

0 comments on commit cd2413c

Please sign in to comment.