jsdoc/test/specs/documentation/exportclass.js
2016-09-12 16:39:35 -07:00

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