/* eslint-disable max-lines */ const Markdown = require('naturalcrit/markdown.js'); test('Escapes '; const rendered = Markdown.render(source); expect(rendered).toMatch('<script></script>'); }); test('Processes the markdown within an HTML block if its just a class wrapper', function() { const source = '
*Bold text*
'; const rendered = Markdown.render(source); expect(rendered).toBe('

Bold text

\n
'); });