mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
14 lines
486 B
JavaScript
14 lines
486 B
JavaScript
'use strict';
|
|
|
|
describe('export default class', function() {
|
|
var docSet = jasmine.getDocSetFromFile('test/fixtures/exportdefaultclass.js');
|
|
var klass = docSet.getByLongname('module:test').filter(function($) {
|
|
return !$.undocumented;
|
|
})[1];
|
|
|
|
it('should combine the classdesc and constructor description into a single doclet', function() {
|
|
expect(klass.classdesc).toBe('Test class');
|
|
expect(klass.description).toBe('Test constructor');
|
|
});
|
|
});
|