Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Interim fix for test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
deskoh committed Jan 22, 2019
1 parent 906dead commit 13ed648
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 432 deletions.
5 changes: 0 additions & 5 deletions .coverage.json

This file was deleted.

3 changes: 2 additions & 1 deletion .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ [email protected] # Publish all data to the clients (for prototyping
[email protected] # Allow all DB writes from clients (for prototyping)
static-html # Define static page content in .html files
react-meteor-data # React higher-order component for reactively tracking Meteor data
lmieulet:[email protected]
meteortesting:[email protected]
jquery
lmieulet:[email protected]
barbatus:typescript
mdg:validated-method
aldeed:collection2
4 changes: 3 additions & 1 deletion .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
lmieulet:meteor-coverage@3.1.1
lmieulet:[email protected].4
[email protected]
mdg:[email protected]
[email protected]
[email protected]
meteorhacks:[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
meteortesting:[email protected]_3
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,19 @@ meteor run
# Run in debug mode
meteor npm run debug
```

## Test Coverage (WIP)

### Known Issues:

1. Static assets for coverage HTML reports cannot be generated properly.

2. `lmieulet:[email protected]` not working well for TypeScript source files.

> Note: The following packages must be in `.meteor/packages` in the following order for test coverage to work: `lmieulet:[email protected]`, `jquery`, `lmieulet:[email protected]`.
> Linux Users: Change `%CD%` to `$PWD/` for npm scripts in package.json.
```
npm run test:coverage
```
Loading

0 comments on commit 13ed648

Please sign in to comment.