Skip to content

Feature/add vercel analytics #120

Feature/add vercel analytics

Feature/add vercel analytics #120

Triggered via pull request December 23, 2025 23:25
Status Failure
Total duration 4m 18s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Unit Tests
Process completed with exit code 1.
src/lib/config/__tests__/siteUrlServer.spec.ts > getSiteUrl > throws a BuildError when running on Vercel: src/lib/config/__tests__/siteUrlServer.spec.ts#L32
AssertionError: expected error to be instance of BuildError - Expected: [Function BuildError] + Received: Error { "message": "[vitest] No \"isGitHub\" export is defined on the \"../environmentServer\" mock. Did you forget to return it from \"vi.mock\"? If you need to partially mock a module, you can use \"importOriginal\" helper inside: ", "codeFrame": "vi.mock(import(\"../environmentServer\"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } })", } ❯ src/lib/config/__tests__/siteUrlServer.spec.ts:32:30