jsdoc/test/specs/documentation/objectkeys.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
365 B
JavaScript

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');
});
});