easyappointments/rsc/scripts/jsdoc/test/specs/documentation/starbangstar.js
2013-07-02 17:20:39 +00:00

13 lines
No EOL
553 B
JavaScript

describe("starbangstar", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/starbangstar.js'),
mod = docSet.getByLongname('module:myscript/core')[0],
x = docSet.getByLongname('module:myscript/core.x')[0];
it('should not treat a doclet starting with /*!* as a JSDoc comment.', function() {
expect(mod.description).toEqual('Script that does something awesome');
});
it('should not treat a doclet starting with /*!** as a JSDoc comment.', function() {
expect(x).toBeUndefined();
});
});