Files
shaka-player/third_party/jsdoc/test/specs/documentation/emptycomments.js
T
2014-12-19 14:26:19 -08:00

16 lines
449 B
JavaScript

/*global describe, expect, it, jasmine, spyOn */
'use strict';
var logger = require('jsdoc/util/logger');
describe('empty JSDoc comments', function() {
it('should not report an error when a JSDoc comment contains only whitespace', function() {
var doclets;
spyOn(logger, 'error');
doclets = jasmine.getDocSetFromFile('test/fixtures/emptycomments.js');
expect(logger.error).not.toHaveBeenCalled();
});
});