mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
14 lines
559 B
JavaScript
14 lines
559 B
JavaScript
(function() {
|
|
var docSet = testhelpers.getDocSetFromFile('test/cases/starbangstar.js'),
|
|
mod = docSet.getByLongname('module:myscript/core')[0],
|
|
x = docSet.getByLongname('module:myscript/core.x')[0];
|
|
|
|
test('When doclet starts wuth /*!* it, it is treated as a JSDoc comment.', function() {
|
|
assert.equal(mod.description, 'Script that does something awesome');
|
|
});
|
|
|
|
test('When doclet starts wuth /*!** it, it is not treated as a JSDoc comment.', function() {
|
|
assert.equal(typeof x, 'undefined');
|
|
});
|
|
|
|
})(); |