jsx.js 413 B

12345678910111213141516
  1. 'use strict';
  2. describe('JSX support', function() {
  3. it('should parse JSX files without errors', function() {
  4. var logger = require('jsdoc/util/logger');
  5. function parseJsx() {
  6. return jasmine.getDocSetFromFile('test/fixtures/jsx.js');
  7. }
  8. spyOn(logger, 'error');
  9. expect(parseJsx).not.toThrow();
  10. expect(logger.error).not.toHaveBeenCalled();
  11. });
  12. });