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).toBeObject();
    expect(bar.name).toBe('bar');
    expect(bar.kind).toBe('member');
  });
});
