Skip to content

Commit c5a343c

Browse files
committed
test(lint): name the value slot by its node type in the prescribed-envelope pins
Claude-Session: https://claude.ai/code/session_01VZqqwTj2wsihZEbfT6yyYN Co-authored-by: Claude <noreply@anthropic.com>
1 parent a7d0cb1 commit c5a343c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/lint/src/lint-flow-patterns.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ describe('#16405 — an `http` node payload is not a region, and both #1315 rule
26782678
['$User.Email', 'create_record', (v: unknown) => ({ objectName: 'task', fields: { v } })],
26792679
['$error.message', 'update_record', (v: unknown) => ({ objectName: 'task', filter: { id: '{record.id}' }, fields: { v } })],
26802680
['$User.Id', 'assignment', (v: unknown) => ({ assignments: { v } })],
2681-
] as const)('`%s` in a %s value slot: each envelope it prescribes passes every judge with 0 refusals', (ref, type, configOf) => {
2681+
] as const)('`%s` in the %s value slot: each envelope it prescribes passes every judge with 0 refusals', (ref, type, configOf) => {
26822682
const fnds = bareDollar(valueFlow(type, configOf(ref)));
26832683
expect(fnds).toHaveLength(1);
26842684
const prescribed = prescribedSources(fnds[0]!.hint!);

0 commit comments

Comments
 (0)