starbangstar.js 569 B

12345678910111213141516
  1. 'use strict';
  2. describe('starbangstar', function() {
  3. var docSet = jasmine.getDocSetFromFile('test/fixtures/starbangstar.js');
  4. var mod = docSet.getByLongname('module:myscript/core')[0];
  5. var x = docSet.getByLongname('module:myscript/core.x')[0];
  6. it('should not treat a doclet starting with /*!* as a JSDoc comment.', function() {
  7. expect(mod.description).toEqual('Script that does something awesome');
  8. });
  9. it('should not treat a doclet starting with /*!** as a JSDoc comment.', function() {
  10. expect(x).toBeUndefined();
  11. });
  12. });