mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
@summary: added tests
This commit is contained in:
parent
f84e29363b
commit
af05ac417a
8
test/specs/tags/summarytag.js
Normal file
8
test/specs/tags/summarytag.js
Normal file
@ -0,0 +1,8 @@
|
||||
describe("@summary tag", function() {
|
||||
var doclet = require('jsdoc/doclet'),
|
||||
doc = new doclet.Doclet('/** @summary I do not like green eggs and ham! */', {});
|
||||
it("sets the doclet's 'summary' property to the tag value", function() {
|
||||
expect(doc.summary).toBe('I do not like green eggs and ham!');
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user