mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
@kind: added test
This commit is contained in:
parent
ff77157eb1
commit
0911c710fc
8
test/specs/tags/kindtag.js
Normal file
8
test/specs/tags/kindtag.js
Normal file
@ -0,0 +1,8 @@
|
||||
describe("@kind tag", function() {
|
||||
var doclet = require('jsdoc/doclet'),
|
||||
doc = new doclet.Doclet('/** @kind function */', {});
|
||||
it("sets the doclet's 'kind' property to the tag value", function() {
|
||||
expect(doc.kind).toBeDefined();
|
||||
expect(doc.kind).toBe('function');
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user