mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
JSDoc-specific test functions are now properties of a `jsdoc` global, not a `jasmine` global. Also updates license files to reflect the fact that we no longer vendor anything.
14 lines
388 B
JavaScript
14 lines
388 B
JavaScript
describe('JSX support', () => {
|
|
it('should parse JSX files without errors', () => {
|
|
const logger = require('jsdoc/util/logger');
|
|
|
|
function parseJsx() {
|
|
return jsdoc.getDocSetFromFile('test/fixtures/jsx.js');
|
|
}
|
|
|
|
spyOn(logger, 'error');
|
|
expect(parseJsx).not.toThrow();
|
|
expect(logger.error).not.toHaveBeenCalled();
|
|
});
|
|
});
|