diff --git a/tests/fixtures/idaMcp.ts b/tests/fixtures/idaMcp.ts index b79956590a..84682142fc 100644 --- a/tests/fixtures/idaMcp.ts +++ b/tests/fixtures/idaMcp.ts @@ -95,7 +95,7 @@ export class RecordingIdaMcp implements IdaMcpConnection { } /** Tool names the fake server advertises; defaults to the profile's full set. */ tools?: readonly string[]; - readResource?: IdaMcpConnection["readResource"]; + readResource?: NonNullable; async connect() { this.connects += 1; return this.tools ?? (this.mode === "attached" ? legacyNames : modernNames);