mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
15 lines
566 B
JavaScript
15 lines
566 B
JavaScript
(function() {
|
|
var docSet = testhelpers.getDocSetFromFile('test/cases/innerscope.js'),
|
|
to = docSet.getByLongname('Message~headers.to'),
|
|
from = docSet.getByLongname('Message~headers.from');
|
|
|
|
//dump(docSet);
|
|
|
|
test('When a member of a var member is documented.', function() {
|
|
assert.equal(to.length, 1, 'It is like Outer~inner.member.');
|
|
});
|
|
|
|
test('When a deeply nested member of a var member is documented.', function() {
|
|
assert.equal(from.length, 1, 'It is still like Outer~inner.member.');
|
|
});
|
|
})(); |