Skip to content

chore: Use Biome

chore: Use Biome #1

Triggered via pull request August 5, 2024 20:04
@evadeckerevadecker
synchronize #277
biome
Status Failure
Total duration 1m 51s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Unit Tests
Failed to parse the json-summary at path "/home/runner/work/genderswap.fm/genderswap.fm/coverage/coverage-summary.json." Make sure to run vitest before this action and to include the "json-summary" reporter. Original Error: Error: ENOENT: no such file or directory, open '/home/runner/work/genderswap.fm/genderswap.fm/coverage/coverage-summary.json' at async open (node:internal/fs/promises:636:25) at async readFile (node:internal/fs/promises:1246:14) at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:191) at async ll (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:272) at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:1910)
Unit Tests
Error: ENOENT: no such file or directory, open '/home/runner/work/genderswap.fm/genderswap.fm/coverage/coverage-summary.json'
src/lib/components/CoverCard.test.ts > CoverCard > should link to the slug: src/lib/components/CoverCard.test.ts#L25
AssertionError: expected undefined to be '/cover/test-slug' // Object.is equality - Expected: "/cover/test-slug" + Received: undefined ❯ src/lib/components/CoverCard.test.ts:25:47
src/lib/components/CoverCard.test.ts > CoverCard > should set `loading` to `lazy` when prop is set: src/lib/components/CoverCard.test.ts#L46
AssertionError: expected undefined to be 'lazy' // Object.is equality - Expected: "lazy" + Received: undefined ❯ src/lib/components/CoverCard.test.ts:46:49
src/lib/components/CoverCard.test.ts > CoverCard > should set `loading` to `eager` when `lazy` is undefined: src/lib/components/CoverCard.test.ts#L69
AssertionError: expected undefined to be 'eager' // Object.is equality - Expected: "eager" + Received: undefined ❯ src/lib/components/CoverCard.test.ts:69:49
src/lib/components/CoverCard.test.ts > CoverCard > should render original name and artists correctly: node_modules/.pnpm/@[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L344
TestingLibraryElementError: Unable to find an element with the text: Original Name. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div aria-hidden="true" class="coverCard svelte-1jkgrex placeholder" > <div class="albums svelte-1jkgrex" > <div class="album svelte-1jkgrex" /> <div class="album svelte-1jkgrex" /> </div> <div class="content svelte-1jkgrex" > <h2 class="title svelte-1jkgrex" /> <div class="artist svelte-1jkgrex" > </div> </div> </div> </div> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:344:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1211:25 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1190:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1233:19 ❯ src/lib/components/CoverCard.test.ts:90:33
src/lib/components/CoverCard.test.ts > CoverCard > should render multiple artist names correctly: node_modules/.pnpm/@[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L344
TestingLibraryElementError: Unable to find an element with the text: Original Artist, Original Artist 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div aria-hidden="true" class="coverCard svelte-1jkgrex placeholder" > <div class="albums svelte-1jkgrex" > <div class="album svelte-1jkgrex" /> <div class="album svelte-1jkgrex" /> </div> <div class="content svelte-1jkgrex" > <h2 class="title svelte-1jkgrex" /> <div class="artist svelte-1jkgrex" > </div> </div> </div> </div> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:344:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1211:25 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1190:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1233:19 ❯ src/lib/components/CoverCard.test.ts:116:35
src/lib/components/ErrorMessage.test.ts > ErrorMessage > should apply the `banner` class when the prop is set: src/lib/components/ErrorMessage.test.ts#L25
AssertionError: expected "error svelte-16bpnxf" to contain "banner" Expected: "error svelte-16bpnxf banner" Received: "error svelte-16bpnxf" ❯ src/lib/components/ErrorMessage.test.ts:25:30
Unit Tests
Process completed with exit code 1.
Typecheck
Process completed with exit code 1.
End-to-End
Process completed with exit code 1.
Lighthouse
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
test-results Expired
168 Bytes