mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
16 lines
555 B
JavaScript
16 lines
555 B
JavaScript
(function() {
|
|
var docSet = testhelpers.getDocSetFromFile('test/cases/virtual.js'),
|
|
found = [
|
|
docSet.getByLongname('dimensions'),
|
|
docSet.getByLongname('width')
|
|
];
|
|
|
|
test('When a virtual symbol is documented.', function() {
|
|
assert.equal(found[0].length, 1, 'The symbol should be documented');
|
|
});
|
|
|
|
test('When an undocumented is after a comment for a virtual symbol is documented.', function() {
|
|
assert.equal(found[1].length, 1, 'The symbol should be documented');
|
|
});
|
|
|
|
})(); |