fix: stabilize lint and test timeouts

This commit is contained in:
Peter Steinberger
2026-01-04 01:42:08 +01:00
parent 70d68d29d0
commit fbaa109a3a
4 changed files with 20 additions and 6 deletions

View File

@@ -250,7 +250,7 @@ vi.mock("../config/config.js", async () => {
session: {
mainKey: "main",
store: testState.sessionStorePath,
...(testState.sessionConfig ?? {}),
...testState.sessionConfig,
},
gateway: (() => {
const gateway: Record<string, unknown> = {};
@@ -366,7 +366,7 @@ export function installGatewayTestHooks() {
piSdkMock.enabled = false;
piSdkMock.discoverCalls = 0;
piSdkMock.models = [];
});
}, 20_000);
afterEach(async () => {
process.env.HOME = previousHome;