chore(lint): no-explicit-any in send-while-running-stuck-test-utils.test

This commit is contained in:
Mohamed Boudra
2026-04-24 06:12:31 +07:00
parent 7823860c26
commit c6d51fa42f

View File

@@ -1,12 +1,13 @@
import { describe, expect, test } from "vitest";
import { applyAgentInputProcessingTransition } from "./send-while-running-stuck-test-utils.js";
import type { AgentSnapshotPayload } from "../messages.js";
function snapshot(status: "running" | "idle", updatedAtMs: number) {
function snapshot(status: "running" | "idle", updatedAtMs: number): AgentSnapshotPayload {
return {
status,
updatedAt: new Date(updatedAtMs).toISOString(),
} as any;
} as unknown as AgentSnapshotPayload;
}
describe("applyAgentInputProcessingTransition", () => {