node-query/node_modules/jsdoc/test/specs/tags/versiontag.js

8 lines
325 B
JavaScript

describe("@version tag", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/versiontag.js'),
foo = docSet.getByLongname('foo')[0];
it('When a symbol has an @version tag, the doclet has a version property set to that value.', function() {
expect(foo.version).toBe('1.2.3');
});
});