mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
10 lines
297 B
JavaScript
10 lines
297 B
JavaScript
describe('empty JSDoc comments', () => {
|
|
it('should not report an error when a JSDoc comment contains only whitespace', () => {
|
|
function getDocSet() {
|
|
jsdoc.getDocSetFromFile('test/fixtures/emptycomments.js');
|
|
}
|
|
|
|
expect(jsdoc.didLog(getDocSet, 'error')).toBeFalse();
|
|
});
|
|
});
|