jsdoc/test/specs/documentation/specialnames.js
2014-12-13 09:39:21 -08:00

13 lines
428 B
JavaScript

'use strict';
describe('documenting symbols with special names', function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/specialnames.js');
var name = docSet.getByLongname('hasOwnProperty').filter(function($) {
return !($.undocumented);
});
it('When a symbol is named "hasOwnProperty," the symbol should appear in the docs.', function() {
expect(name.length).toEqual(1);
});
});