Skip to content

Commit

Permalink
upgrade deps.. additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Dec 3, 2016
1 parent ab30db1 commit 177641b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions es5/test/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,10 @@ runner.test('.getNamepaths()', function () {

runner.test('.clear()', function () {
return jsdoc2md.clear();
});

runner.test('.render({ files, send })', function () {
return jsdoc2md.render({ files: inputFile, send: true }).then(function (result) {
return a.ok(/a visible global/.test(result));
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"feature-detect-es6": "^1.3.1",
"jsdoc-api": "^2.0.6",
"jsdoc-parse": "^2.0.5",
"jsdoc2md-stats": "^1.0.5",
"jsdoc2md-stats": "^1.0.6",
"walk-back": "^2.0.1"
},
"devDependencies": {
"babel-preset-es2015": "^6.18.0",
"coveralls": "^2.11.15",
"test-runner": "^0.2.5"
"test-runner": "^0.3.0"
},
"standard": {
"ignore": [
Expand Down
5 changes: 5 additions & 0 deletions src/test/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,8 @@ runner.test('.getNamepaths()', function () {
runner.test('.clear()', function () {
return jsdoc2md.clear()
})

runner.test('.render({ files, send })', function () {
return jsdoc2md.render({ files: inputFile, send: true })
.then(result => a.ok(/a visible global/.test(result)))
})

0 comments on commit 177641b

Please sign in to comment.