jsdoc-to-markdown
Advanced tools
Comparing version 2.0.0-alpha.23 to 2.0.0
@@ -10,8 +10,3 @@ 'use strict'; | ||
} catch (err) {} | ||
jsdoc2md._usage.defaults.set('tid', 'UA-70853320-4'); | ||
jsdoc2md._usage.queuePath = 'tmp-test/unsent.json'; | ||
jsdoc2md._usage._lastSentPath = 'tmp-test/lastSent.json'; | ||
process.on('beforeExit', function () { | ||
return jsdoc2md._usage.send(); | ||
}); | ||
jsdoc2md._usage.disable(); | ||
@@ -145,2 +140,12 @@ var runner = new TestRunner(); | ||
}); | ||
}); | ||
runner.test('.getNamepaths()', function () { | ||
return jsdoc2md.getNamepaths({ files: 'src/test/fixture/ignore.js' }).then(function (namepaths) { | ||
a.deepStrictEqual(namepaths.member, ['visible', 'invisible']); | ||
}); | ||
}); | ||
runner.test('.clear()', function () { | ||
return jsdoc2md.clear(); | ||
}); |
{ | ||
"name": "jsdoc-to-markdown", | ||
"author": "Lloyd Brookes", | ||
"version": "2.0.0-alpha.23", | ||
"version": "2.0.0", | ||
"description": "Generates markdown API documentation from jsdoc annotated source code", | ||
@@ -42,3 +42,3 @@ "repository": "https://github.com/jsdoc2md/jsdoc-to-markdown", | ||
"coveralls": "^2.11.14", | ||
"test-runner": "^0.2.4" | ||
"test-runner": "^0.2.5" | ||
}, | ||
@@ -45,0 +45,0 @@ "standard": { |
[![view on npm](http://img.shields.io/npm/v/jsdoc-to-markdown.svg)](https://www.npmjs.org/package/jsdoc-to-markdown) | ||
[![npm module downloads](http://img.shields.io/npm/dt/jsdoc-to-markdown.svg)](https://www.npmjs.org/package/jsdoc-to-markdown) | ||
[![Build Status](https://travis-ci.org/jsdoc2md/jsdoc-to-markdown.svg?branch=next)](https://travis-ci.org/jsdoc2md/jsdoc-to-markdown) | ||
[![Coverage Status](https://coveralls.io/repos/github/jsdoc2md/jsdoc-to-markdown/badge.svg?branch=next)](https://coveralls.io/github/jsdoc2md/jsdoc-to-markdown?branch=next) | ||
[![Build Status](https://travis-ci.org/jsdoc2md/jsdoc-to-markdown.svg?branch=master)](https://travis-ci.org/jsdoc2md/jsdoc-to-markdown) | ||
[![Coverage Status](https://coveralls.io/repos/github/jsdoc2md/jsdoc-to-markdown/badge.svg?branch=master)](https://coveralls.io/github/jsdoc2md/jsdoc-to-markdown?branch=master) | ||
[![Dependency Status](https://david-dm.org/jsdoc2md/jsdoc-to-markdown.svg)](https://david-dm.org/jsdoc2md/jsdoc-to-markdown) | ||
@@ -38,3 +38,3 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) | ||
**Kind**: global function | ||
**Kind**: global function | ||
@@ -51,3 +51,3 @@ | Param | Type | Description | | ||
``` | ||
$ npm i -g jsdoc-to-markdown@^2.0.0-alpha | ||
$ npm install -g jsdoc-to-markdown | ||
``` | ||
@@ -62,2 +62,2 @@ | ||
© 2014-16 Lloyd Brookes <75pound@gmail.com>. | ||
© 2014-16 Lloyd Brookes <75pound@gmail.com>. |
@@ -11,6 +11,3 @@ 'use strict' | ||
} | ||
jsdoc2md._usage.defaults.set('tid', 'UA-70853320-4') | ||
jsdoc2md._usage.queuePath = 'tmp-test/unsent.json' | ||
jsdoc2md._usage._lastSentPath = 'tmp-test/lastSent.json' | ||
process.on('beforeExit', () => jsdoc2md._usage.send()) | ||
jsdoc2md._usage.disable() | ||
@@ -139,1 +136,15 @@ const runner = new TestRunner() | ||
}) | ||
runner.test('.getNamepaths()', function () { | ||
return jsdoc2md.getNamepaths({ files: 'src/test/fixture/ignore.js' }) | ||
.then(namepaths => { | ||
a.deepStrictEqual(namepaths.member, [ | ||
'visible', | ||
'invisible' | ||
]) | ||
}) | ||
}) | ||
runner.test('.clear()', function () { | ||
return jsdoc2md.clear() | ||
}) |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
61062
1372
1
61