mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
With help from Lebab, plus a lot of manual cleanup. (And more cleanup to come, I'm sure.)
14 lines
462 B
JavaScript
14 lines
462 B
JavaScript
describe('export class', () => {
|
|
const docSet = jasmine.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');
|
|
});
|
|
});
|