Skip to content

Commit

Permalink
Deploy lmieulet:[email protected] and small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
serut committed Jun 17, 2023
1 parent c388947 commit 1725d07
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
[...]
});
```
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Package.onUse(function (api) {

Package.onTest(function (api) {
api.use('ecmascript');
api.use('lmieulet:meteor-legacy-coverage@0.1.0', 'server');
api.use('lmieulet:meteor-legacy-coverage@0.2.0', 'server');
api.use('http', 'client');
api.use('webapp', 'server');
api.use(['lmieulet:meteor-coverage']);
Expand Down

0 comments on commit 1725d07

Please sign in to comment.