MCPcopy Index your code
hub / github.com/coder/coder / useAgentLogs.test.ts

File useAgentLogs.test.ts

site/src/modules/resources/useAgentLogs.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook, waitFor } from "@testing-library/react";
2import { act } from "react";
3import { toast } from "sonner";
4import type { MockInstance } from "vitest";

Callers

nothing calls this directly

Calls 4

mountHookFunction · 0.85
generateMockLogsFunction · 0.85
publishMessageMethod · 0.80
publishErrorMethod · 0.80

Tested by

no test coverage detected