mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
With help from Lebab, plus a lot of manual cleanup. (And more cleanup to come, I'm sure.)
11 lines
345 B
JavaScript
11 lines
345 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');
|
|
jasmine.getDocSetFromFile('test/fixtures/emptycomments.js');
|
|
|
|
expect(logger.error).not.toHaveBeenCalled();
|
|
});
|
|
});
|