emptycomments.js 368 B

12345678910111213
  1. 'use strict';
  2. var logger = require('jsdoc/util/logger');
  3. describe('empty JSDoc comments', function() {
  4. it('should not report an error when a JSDoc comment contains only whitespace', function() {
  5. spyOn(logger, 'error');
  6. jasmine.getDocSetFromFile('test/fixtures/emptycomments.js');
  7. expect(logger.error).not.toHaveBeenCalled();
  8. });
  9. });