mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
12 lines
384 B
JavaScript
12 lines
384 B
JavaScript
/* global jsdoc */
|
|
describe('object keys', () => {
|
|
const docSet = jsdoc.getDocSetFromFile('test/fixtures/objectkeys.js');
|
|
|
|
it('should assign the correct longname and memberof to object keys after the first key', () => {
|
|
const bar = docSet.getByLongname('myObject.bar')[0];
|
|
|
|
expect(bar).toBeDefined();
|
|
expect(bar.memberof).toBe('myObject');
|
|
});
|
|
});
|