jsdoc/test/specs/documentation/instanceproperty.js
Jeff Williams 617b3236bf Replace old, vendored Jasmine with current npm package.
JSDoc-specific test functions are now properties of a `jsdoc` global, not a `jasmine` global.

Also updates license files to reflect the fact that we no longer vendor anything.
2019-05-12 15:10:38 -07:00

11 lines
424 B
JavaScript

describe('Properties documented in instance methods', () => {
const docSet = jsdoc.getDocSetFromFile('test/fixtures/instanceproperty.js');
const bar = docSet.getByLongname('Foo#bar')[0];
it('should set the correct longname when a property is documented in an instance method', () => {
expect(bar).toBeDefined();
expect(bar.name).toBe('bar');
expect(bar.kind).toBe('member');
});
});