jsdoc/test/specs/documentation/starbangstar.js
Jannon 034205baa8 Testing Framework Upgrade Part II
The second half of the first phase of the testing framework upgrade.  This finishes moving the exisintg tests to jasmine and the new test directory structure
2012-05-04 18:52:19 -07:00

13 lines
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();
});
});