summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test/inline.js
blob: e878d02bc271e38da724ea75803a3084f3826e4b (plain)
1
2
3
4
5
6
7
8
9
10
const expect = require('expect');

const inline = require('../src').inline;

describe('Inline', () => {
    it('should render inline AsciiDoc', () => {
        const parsed = inline('Hello **World**');
        expect(parsed.content).toEqual('Hello <strong>World</strong>');
    });
});