MaketRandevu/data/scripts/jsdoc/test/specs/documentation/virtual.js
2013-05-20 17:21:58 +00:00

15 lines
No EOL
501 B
JavaScript

describe("virtual symbols", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/virtual.js'),
found = [
docSet.getByLongname('dimensions'),
docSet.getByLongname('width')
];
it('should document virtual symbols', function() {
expect(found[0].length).toEqual(1);
});
it('should document an undocumented symbol found after a comment for a virtual symbol', function() {
expect(found[1].length).toEqual(1);
});
});