Skip to content

Commit

Permalink
coverage improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jessaustin committed Apr 3, 2016
1 parent 09d136f commit 0d6fc00
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ start = ->
gulp.src 'test/**/*.jade'
.pipe data ({ contents }) ->
matter String contents
.pipe nav()
.pipe nav orders: ['order', 'ord']

gulp.task 'build', ->
start()
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"pretest": "coffee --compile --map gulp-nav.coffee",
"test": "istanbul cover --print none gulp test | faucet",
"posttest": "remap-istanbul --input coverage/coverage.json --output $npm_package_config_rmpfile --type text-summary && cat $npm_package_config_rmpfile && rm $npm_package_config_rmpfile && echo",
"coverage": "remap-istanbul --input coverage/coverage.json --output coverage/coffee --type html",
"prepublish": "npm run pretest",
"postpublish": "npm run clean"
}
Expand Down
2 changes: 1 addition & 1 deletion test/latin/b.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extends ../index

- var title = 'B', order = 2;
- order = 2;
2 changes: 1 addition & 1 deletion test/latin/c.jade
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extends ../index

- var title = 'C', order = 3;
- var title = 'C';

0 comments on commit 0d6fc00

Please sign in to comment.