mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
13 lines
427 B
JavaScript
13 lines
427 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);
|
|
});
|
|
});
|