mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
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.
14 lines
460 B
JavaScript
14 lines
460 B
JavaScript
describe('export class', () => {
|
|
const docSet = jsdoc.getDocSetFromFile('test/fixtures/exportclass.js');
|
|
const bar = docSet.getByLongname('module:foo.Bar')[0];
|
|
|
|
it('should name exported classes correctly', () => {
|
|
expect(bar).toBeDefined();
|
|
expect(bar.name).toBe('Bar');
|
|
});
|
|
|
|
it('should merge the class description with the doclet for the class', () => {
|
|
expect(bar.classdesc).toBe('Class description');
|
|
});
|
|
});
|