mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
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.
11 lines
343 B
JavaScript
11 lines
343 B
JavaScript
const logger = require('jsdoc/util/logger');
|
|
|
|
describe('empty JSDoc comments', () => {
|
|
it('should not report an error when a JSDoc comment contains only whitespace', () => {
|
|
spyOn(logger, 'error');
|
|
jsdoc.getDocSetFromFile('test/fixtures/emptycomments.js');
|
|
|
|
expect(logger.error).not.toHaveBeenCalled();
|
|
});
|
|
});
|