node-query/node_modules/jsdoc/test/specs/jsdoc
2014-10-20 16:56:45 -04:00
..
opts A bunch of random progress 2014-10-20 16:56:45 -04:00
src A bunch of random progress 2014-10-20 16:56:45 -04:00
tag A bunch of random progress 2014-10-20 16:56:45 -04:00
tutorial A bunch of random progress 2014-10-20 16:56:45 -04:00
util A bunch of random progress 2014-10-20 16:56:45 -04:00
augment.js A bunch of random progress 2014-10-20 16:56:45 -04:00
borrow.js A bunch of random progress 2014-10-20 16:56:45 -04:00
config.js A bunch of random progress 2014-10-20 16:56:45 -04:00
doclet.js A bunch of random progress 2014-10-20 16:56:45 -04:00
name.js A bunch of random progress 2014-10-20 16:56:45 -04:00
path.js A bunch of random progress 2014-10-20 16:56:45 -04:00
plugins.js A bunch of random progress 2014-10-20 16:56:45 -04:00
readme.js A bunch of random progress 2014-10-20 16:56:45 -04:00
tag.js A bunch of random progress 2014-10-20 16:56:45 -04:00
tutorial.js A bunch of random progress 2014-10-20 16:56:45 -04:00

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>');
    });

});