mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
chore(lint): no-explicit-any in persistence-hooks.test
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { Logger } from "pino";
|
||||
import { describe, expect, test, vi } from "vitest";
|
||||
import type { StoredAgentRecord } from "./agent/agent-storage.js";
|
||||
import { buildConfigOverrides, buildSessionConfig } from "./persistence-hooks.js";
|
||||
@@ -6,7 +7,7 @@ const testLogger = {
|
||||
child: () => testLogger,
|
||||
error: vi.fn(),
|
||||
warn: vi.fn(),
|
||||
} as any;
|
||||
} as unknown as Logger;
|
||||
|
||||
function createRecord(overrides?: Partial<StoredAgentRecord>): StoredAgentRecord {
|
||||
const now = new Date().toISOString();
|
||||
|
||||
Reference in New Issue
Block a user