Skip to content

Commit

Permalink
Add empty call to message
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Dec 20, 2017
1 parent 16ab3d0 commit 2c1f8bc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ export function callback(cb:() => void) {
reporter.write(collector, true, function () {
let collect = remap(loadCoverage(coverageDir + '/coverage-final.json'));
writeReport(collect, 'lcovonly', {}, coverageDir + '/lcov.info').then(function () {
console.log('Coverage report generated');
cb.call(this);
console.log('Coverage lcov report generated');
writeReport(collect, 'html', {}, coverageDir + '/html').then(function () {
console.log('Coverage html report generated');
cb.call(this);
});
});
});
}
16 changes: 16 additions & 0 deletions test/fixtures/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@
" */"
]
},
{
"name": "Empty Function",
"config": {
"gap": false,
"extra": []
},
"input": {
"return": "void"
},
"expected": [
"/**",
" * ${1}",
" * @return ${2:void}",
" */"
]
},
{
"name": "Property",
"config": {
Expand Down

0 comments on commit 2c1f8bc

Please sign in to comment.