1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fix: array access error when token.map is null, fix #3123

This commit is contained in:
hikerpig
2019-07-24 23:49:07 +08:00
committed by Junyoung Choi
parent 7797661489
commit 972d053c83
5 changed files with 30 additions and 2 deletions

View File

@@ -68,3 +68,8 @@ test('Markdown.render() should render shortcuts correctly', t => {
const rendered = md.render(markdownFixtures.shortcuts)
t.snapshot(rendered)
})
test('Markdown.render() should render footnote correctly', t => {
const rendered = md.render(markdownFixtures.footnote)
t.snapshot(rendered)
})