Skip to content

Add test command to run vitest #3

Add test command to run vitest

Add test command to run vitest #3

Triggered via push August 26, 2024 16:30
Status Failure
Total duration 30s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links]]: packages/remark-obsidian/remark-obsidian.test.ts#L11
AssertionError: expected '<p><a href="/wiki-links">Wiki Links</…' to contain '<a href="/wiki_links">Wiki Links</a>' Expected: "<a href="/wiki_links">Wiki Links</a>" Received: "<p><a href="/wiki-links">Wiki Links</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:11:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L16
AssertionError: expected '<p><a href="/wiki-links">Alias</a></p>' to contain '<a href="/wiki_links">Alias</a>' Expected: "<a href="/wiki_links">Alias</a>" Received: "<p><a href="/wiki-links">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:16:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#Main Section]]: packages/remark-obsidian/remark-obsidian.test.ts#L21
AssertionError: expected '<p><a href="/wiki-links#main-section"…' to contain '<a href="/wiki_links#main_section">Wi…' Expected: "<a href="/wiki_links#main_section">Wiki Links > Main Section</a>" Received: "<p><a href="/wiki-links#main-section">Wiki Links > Main Section</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:21:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#Main Section|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L28
AssertionError: expected '<p><a href="/wiki-links#main-section"…' to contain '<a href="/wiki_links#main_section">Al…' Expected: "<a href="/wiki_links#main_section">Alias</a>" Received: "<p><a href="/wiki-links#main-section">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:28:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#Main Section#Sub Section]]: packages/remark-obsidian/remark-obsidian.test.ts#L33
AssertionError: expected '<p><a href="/wiki-links#main-section#…' to contain '<a href="/wiki_links#main_section#sub…' Expected: "<a href="/wiki_links#main_section#sub_section">Wiki Links > Main Section > Sub Section</a>" Received: "<p><a href="/wiki-links#main-section#sub-section">Wiki Links > Main Section > Sub Section</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:33:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#Main Section#Sub Section|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L42
AssertionError: expected '<p><a href="/wiki-links#main-section#…' to contain '<a href="/wiki_links#main_section#sub…' Expected: "<a href="/wiki_links#main_section#sub_section">Alias</a>" Received: "<p><a href="/wiki-links#main-section#sub-section">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:42:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#^Abc-123]]: packages/remark-obsidian/remark-obsidian.test.ts#L49
AssertionError: expected '<p><a href="/wiki-links#^abc-123">Wik…' to contain '<a href="/wiki_links#^abc-123">Wiki L…' Expected: "<a href="/wiki_links#^abc-123">Wiki Links > ^Abc-123</a>" Received: "<p><a href="/wiki-links#^abc-123">Wiki Links > ^Abc-123</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:49:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Wiki Links#^Abc-123|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L56
AssertionError: expected '<p><a href="/wiki-links#^abc-123">Ali…' to contain '<a href="/wiki_links#^abc-123">Alias<…' Expected: "<a href="/wiki_links#^abc-123">Alias</a>" Received: "<p><a href="/wiki-links#^abc-123">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:56:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#Main Section]]: packages/remark-obsidian/remark-obsidian.test.ts#L61
AssertionError: expected '<p><a href="/#main-section">Main Sect…' to contain '<a href="/#main_section">Main Section…' Expected: "<a href="/#main_section">Main Section</a>" Received: "<p><a href="/#main-section">Main Section</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:61:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#Main Section|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L66
AssertionError: expected '<p><a href="/#main-section">Alias</a>…' to contain '<a href="/#main_section">Alias</a>' Expected: "<a href="/#main_section">Alias</a>" Received: "<p><a href="/#main-section">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:66:16
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/