mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-15 04:22:25 +03:00
10 lines
446 B
JavaScript
10 lines
446 B
JavaScript
|
describe("documenting symbols with special names", function() {
|
||
|
var docSet = jasmine.getDocSetFromFile('test/fixtures/specialnames.js'),
|
||
|
name = docSet.getByLongname('hasOwnProperty').filter(function($) {
|
||
|
return ! $.undocumented;
|
||
|
});
|
||
|
|
||
|
it('When a symbol has the documented name of "hasOwnProperty," JSDoc should correctly include it in the docs.', function() {
|
||
|
expect(name.length).toEqual(1);
|
||
|
});
|
||
|
});
|