2019-05-12 11:31:38 -07:00
..
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-05-12 11:31:38 -07:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00
2019-01-15 18:39:10 -08:00

describe('jsdoc/readme', () => {
    const jsdoc = { readme: require('jsdoc/readme') };
    const Readme = jsdoc.readme;
    const html = (new Readme('test/fixtures/markdowntest.md')).html;

    it('should convert Markdown files to HTML', () => {
        expect(html).toBeDefined();
        expect(typeof html).toBe('string');
        expect(html).toContain('<code>');
        expect(html).toContain('<h2>');
        expect(html).toContain('<p>');
        expect(html).toContain('<li>');
    });
});