fix(core): update
This commit is contained in:
@ -10,8 +10,8 @@ tap.test('should create a valid instance of SmartMarkdown', async () => {
|
||||
|
||||
tap.test('should convert a markdown string to html', async () => {
|
||||
const markdownString = '# Hi!';
|
||||
const htmlString = smartMarkdownInstance.markdownToHtml(markdownString);
|
||||
expect(htmlString).to.equal('<h1 id="hi">Hi!</h1>\n');
|
||||
const htmlString = await smartMarkdownInstance.markdownToHtml(markdownString);
|
||||
expect(htmlString).to.equal('<h1>Hi!</h1>\n');
|
||||
});
|
||||
|
||||
tap.test('should convert a html string to markdown', async () => {
|
||||
|
Reference in New Issue
Block a user