12345678910111213141516 |
- 'use strict';
- describe('JSX support', function() {
- it('should parse JSX files without errors', function() {
- var logger = require('jsdoc/util/logger');
- function parseJsx() {
- return jasmine.getDocSetFromFile('test/fixtures/jsx.js');
- }
- spyOn(logger, 'error');
- expect(parseJsx).not.toThrow();
- expect(logger.error).not.toHaveBeenCalled();
- });
- });
|