Skip to content

Commit 73f7298

Browse files
bloveclaude
andcommitted
fix(langgraph): silence no-empty-function on AgentRef test stubs
CI's Library job failed lint on these pre-existing stub methods. The empty bodies are intentional — they implement the AgentRef surface for the adapter under test. Scope the disable to the stub helpers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d0bd796 commit 73f7298

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libs/langgraph/src/lib/to-chat-agent.conformance.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { signal } from '@angular/core';
66
import { ResourceStatus } from './agent.types';
77
import type { AgentRef } from './agent.types';
88

9+
/* eslint-disable @typescript-eslint/no-empty-function */
910
function minimalRef(): AgentRef<unknown, any> {
1011
return {
1112
value: signal<unknown>({}),

libs/langgraph/src/lib/to-chat-agent.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import type { AgentRef, CustomStreamEvent } from './agent.types';
77
import { ResourceStatus } from './agent.types';
88
import { toChatAgent } from './to-chat-agent';
99

10+
/* eslint-disable @typescript-eslint/no-empty-function */
1011
function stubAgentRef(overrides: Partial<AgentRef<unknown, any>> = {}): AgentRef<unknown, any> {
1112
return {
1213
value: signal<unknown>(null),

0 commit comments

Comments
 (0)