@kind: added test

This commit is contained in:
mathematicalcoffee 2013-02-15 15:59:08 +10:00
parent ff77157eb1
commit 0911c710fc

View 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');
});
});