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