fix(core): update

This commit is contained in:
2018-09-23 00:21:31 +02:00
parent 540d617206
commit a372e507f4
6 changed files with 25 additions and 12 deletions

View File

@@ -2,7 +2,8 @@ import { expect, tap } from '@pushrocks/tapbundle';
import * as smartmarkdown from '../ts/index';
tap.test('first test', async () => {
console.log(smartmarkdown.standardExport);
const mdString = smartmarkdown.markdownToHtml('# Hi!');
expect(mdString).to.equal('<h1 id="hi-">Hi!</h1>\n');
});
tap.start();