test: reduce hotspot fixture overhead

This commit is contained in:
Peter Steinberger
2026-04-17 02:35:44 +01:00
parent 2cfb660a9b
commit 3a59eddd07
6 changed files with 68 additions and 48 deletions

View File

@@ -52,6 +52,10 @@ vi.mock("./infra/git-commit.js", () => ({
resolveCommitHash: resolveCommitHashMock,
}));
vi.mock("./infra/gaxios-fetch-compat.js", () => ({
installGaxiosFetchCompat: vi.fn(async () => {}),
}));
vi.mock("./infra/is-main.js", () => ({
isMainModule: isMainModuleMock,
}));