Skip to content

fix(web): validate git ref and file path inputs #48

fix(web): validate git ref and file path inputs

fix(web): validate git ref and file path inputs #48

Triggered via pull request February 27, 2026 23:19
Status Failure
Total duration 1m 33s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test
Process completed with exit code 1.
src/features/git/listCommitsApi.test.ts: packages/web/src/features/git/utils.ts#L4
Error: [vitest] No "createLogger" export is defined on the "@sourcebot/shared" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@sourcebot/shared"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/features/git/utils.ts:4:23 ❯ src/features/git/listCommitsApi.ts:7:31