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.)
10 lines
371 B
JavaScript
10 lines
371 B
JavaScript
describe('export default', () => {
|
|
const docSet = jasmine.getDocSetFromFile('test/fixtures/exportdefault.js');
|
|
const member = docSet.getByLongname('module:test')[1];
|
|
|
|
it('should use the correct kind and description for the default export', () => {
|
|
expect(member.kind).toBe('member');
|
|
expect(member.description).toBe('Test value');
|
|
});
|
|
});
|