mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
@classdesc: added test
This commit is contained in:
parent
0e8e1664f7
commit
d869c99c3d
7
test/specs/tags/classdesctag.js
Normal file
7
test/specs/tags/classdesctag.js
Normal file
@ -0,0 +1,7 @@
|
||||
describe("@classdesc tag", function() {
|
||||
var doclet = require('jsdoc/doclet'),
|
||||
doc = new doclet.Doclet('/** Asdf. @class Foo\n@classdesc A description of the class. */', {});
|
||||
it('adds a classdesc property to the doclet with the description', function() {
|
||||
expect(doc.classdesc).toBe('A description of the class.');
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user