mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
13 lines
447 B
JavaScript
13 lines
447 B
JavaScript
'use strict';
|
|
|
|
describe('Properties documented in instance methods', function() {
|
|
var docSet = jasmine.getDocSetFromFile('test/fixtures/instanceproperty.js');
|
|
var bar = docSet.getByLongname('Foo#bar')[0];
|
|
|
|
it('should set the correct longname when a property is documented in an instance method', function() {
|
|
expect(bar).toBeDefined();
|
|
expect(bar.name).toBe('bar');
|
|
expect(bar.kind).toBe('member');
|
|
});
|
|
});
|