-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy lmieulet:[email protected] and small changes
- Loading branch information
Showing
3 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,17 +106,17 @@ Now open your [browser test page localhost:3000/](http://localhost:3000/) and th | |
|
||
# Creates an html export inside coverage_app_folder/output_folder/index.html | ||
Meteor.exportCoverage("html", function(err) {console.log(err)}) | ||
|
||
Refresh the [localhost:3000/coverage](http://localhost:3000/coverage) in your browser to see there is client coverage now. | ||
|
||
### Specific setup for Meteor package | ||
|
||
In a meteor package, you need to add inside the `package.js` file: | ||
|
||
```js | ||
[...] | ||
Package.onTest(function (api) { | ||
api.use(['lmieulet:meteor-legacy-coverage@0.1.0', 'lmieulet:[email protected]','meteortesting:mocha']); | ||
api.use(['lmieulet:meteor-legacy-coverage@0.2.0', 'lmieulet:[email protected]','meteortesting:mocha']); | ||
[...] | ||
}); | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters