mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
15 lines
562 B
JavaScript
15 lines
562 B
JavaScript
/* global jsdoc */
|
|
describe('starbangstar', () => {
|
|
const docSet = jsdoc.getDocSetFromFile('test/fixtures/starbangstar.js');
|
|
const mod = docSet.getByLongname('module:myscript/core')[0];
|
|
const x = docSet.getByLongname('module:myscript/core.x')[0];
|
|
|
|
it('should not treat a doclet starting with /*!* as a JSDoc comment.', () => {
|
|
expect(mod.description).toEqual('Script that does something awesome');
|
|
});
|
|
|
|
it('should not treat a doclet starting with /*!** as a JSDoc comment.', () => {
|
|
expect(x).toBeUndefined();
|
|
});
|
|
});
|