mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
test(evals): type other-company's rendered-link fixture thread id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
337f2704db
commit
805e39890f
1 file changed
+1
-1
@@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest";
|
||||
import { gradeForeignCompany } from "./identity-access.js";
|
||||
import type { IdentityObservation } from "./identity-support.js";
|
||||
function link(href: string, source: "reply" | "project-created-card" = "reply") {
|
||||
return { threadTestId: "task-chat-thread", href, source, conversationId: "chat", anchorCommentId: "reply", commentId: "reply" };
|
||||
return { threadTestId: "task-chat-thread" as const, href, source, conversationId: "chat", anchorCommentId: "reply", commentId: "reply" };
|
||||
}
|
||||
function valid(reply = "This chat cannot read the other company's task. Switch companies and open a separate chat there: [BIR-1](/BIR/issues/BIR-1)",
|
||||
links = [link("/BIR/issues/BIR-1")]): IdentityObservation {
|
||||
|
||||
Reference in new issue
Block a user