Skip to content

test(gfm): add remark-gfm plugin test coverage#35

Merged
luojiyin1987 merged 3 commits into
masterfrom
test/gfm-plugin
Jul 1, 2026
Merged

test(gfm): add remark-gfm plugin test coverage#35
luojiyin1987 merged 3 commits into
masterfrom
test/gfm-plugin

Conversation

@luojiyin1987

@luojiyin1987 luojiyin1987 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Closes #30

Changes

  • Add __tests__/plugins/gfm.spec.ts with 5 test cases covering:
    footnote definition
    footnote reference
    autolink email
    bare URL in line

Notes

  • Footnote reference [^1] is parsed as text when no definition exists
  • Bare URLs are tokenized as link nodes

Verification

pnpm run build && pnpm test

All 25 tests pass.

@luojiyin1987 luojiyin1987 merged commit b5ebf0d into master Jul 1, 2026
13 checks passed
@luojiyin1987 luojiyin1987 deleted the test/gfm-plugin branch July 1, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: 补充 GFM 插件测试覆盖(表格、task list、脚注)

1 participant