jsdoc/test/specs/documentation/starbangstar.js
Jeff Williams 617b3236bf Replace old, vendored Jasmine with current npm package.
JSDoc-specific test functions are now properties of a `jsdoc` global, not a `jasmine` global.

Also updates license files to reflect the fact that we no longer vendor anything.
2019-05-12 15:10:38 -07:00

14 lines
543 B
JavaScript

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();
});
});