mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Conflicts: lib/jsdoc/name.js lib/jsdoc/src/handlers.js lib/jsdoc/src/parser.js lib/jsdoc/tag/dictionary/definitions.js lib/jsdoc/util/templateHelper.js package.json test/specs/documentation/alias.js test/specs/documentation/modules.js test/specs/tags/augmentstag.js test/specs/tags/overviewtag.js
describe("jsdoc/readme", function() {
var jsdoc = {readme: require('jsdoc/readme') },
html = (new jsdoc.readme('test/fixtures/markdowntest.md')).html;
it("should parse html out of markdown", function() {
expect(html).toBeDefined();
expect(typeof html).toEqual("string");
expect(html).toContain('<code>');
expect(html).toContain('<h2>');
expect(html).toContain('<p>');
expect(html).toContain('<li>');
});
});