Skip to content

Fixup tests; configure vitest to use ts paths #7

Fixup tests; configure vitest to use ts paths

Fixup tests; configure vitest to use ts paths #7

Triggered via push August 28, 2024 15:25
Status Failure
Total duration 31s
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 > [[Internal Links#^Abc-123]]: packages/remark-obsidian/remark-obsidian.test.ts#L51
AssertionError: expected '<p><a href="/internal-links#^abc-123"…' to contain '<a href="/internal-links#abc-123">Int…' Expected: "<a href="/internal-links#abc-123">Internal Links > ^Abc-123</a>" Received: "<p><a href="/internal-links#^abc-123">Internal Links > ^Abc-123</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:51:16
packages/remark-obsidian/remark-obsidian.test.ts > [[Internal Links#^Abc-123|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L58
AssertionError: expected '<p><a href="/internal-links#^abc-123"…' to contain '<a href="/internal-links#abc-123">Ali…' Expected: "<a href="/internal-links#abc-123">Alias</a>" Received: "<p><a href="/internal-links#^abc-123">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:58:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#Main Section]]: packages/remark-obsidian/remark-obsidian.test.ts#L63
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:63:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#Main Section|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L68
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:68:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#Main Section#Sub Section]]: packages/remark-obsidian/remark-obsidian.test.ts#L73
AssertionError: expected '<p><a href="/#main-section#sub-sectio…' to contain '<a href="#main-section#sub-section">M…' Expected: "<a href="#main-section#sub-section">Main Section > Sub Section</a>" Received: "<p><a href="/#main-section#sub-section">Main Section > Sub Section</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:73:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#^Abc-123]]: packages/remark-obsidian/remark-obsidian.test.ts#L80
AssertionError: expected '<p><a href="/#^abc-123">^Abc-123</a><…' to contain '<a href="#abc-123">^Abc-123</a>' Expected: "<a href="#abc-123">^Abc-123</a>" Received: "<p><a href="/#^abc-123">^Abc-123</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:80:16
packages/remark-obsidian/remark-obsidian.test.ts > [[#^Abc-123|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L85
AssertionError: expected '<p><a href="/#^abc-123">Alias</a></p>' to contain '<a href="#abc-123">Alias</a>' Expected: "<a href="#abc-123">Alias</a>" Received: "<p><a href="/#^abc-123">Alias</a></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:85:16
packages/remark-obsidian/remark-obsidian.test.ts > ![[Internal Link#^block-id]]: packages/remark-obsidian/remark-obsidian.test.ts#L221
AssertionError: expected '<p><object data="/internal-link#^bloc…' to contain '<p><object data="/internal-link#block…' Expected: "<p><object data="/internal-link#block-id"></object></p>" Received: "<p><object data="/internal-link#^block-id"></object></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:221:16
packages/remark-obsidian/remark-obsidian.test.ts > ![[Internal Link#^block-id|Alias]]: packages/remark-obsidian/remark-obsidian.test.ts#L228
AssertionError: expected '<p><object data="/internal-link#^bloc…' to contain '<p><object data="/internal-link#block…' Expected: "<p><object data="/internal-link#block-id" title="Alias"></object></p>" Received: "<p><object data="/internal-link#^block-id" title="Alias"></object></p>" ❯ packages/remark-obsidian/remark-obsidian.test.ts:228:16
packages/remark-obsidian/internal-link/internal-link.test.ts > [[Internal Link#^Abc123]]: packages/remark-obsidian/internal-link/internal-link.test.ts#L84
AssertionError: expected '<p><a href="/internal-link#^abc123">I…' to equal '<p><a href="/internal-link#abc123">In…' Expected: "<p><a href="/internal-link#abc123">Internal Link > ^Abc123</a></p>" Received: "<p><a href="/internal-link#^abc123">Internal Link > ^Abc123</a></p>" ❯ packages/remark-obsidian/internal-link/internal-link.test.ts:84:10
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/