Skip to content

Commit dd03747

Browse files
committed
test(plugin-approvals): type the request read's query options
Claude-Session: https://claude.ai/code/session_013j5gkUCpqQiti4GgPqqmnt Co-authored-by: Claude <noreply@anthropic.com>
1 parent 27c9455 commit dd03747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/plugins/plugin-approvals/src/sys-approval-token-generic-door.integration.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ describe('positive control: the engine\'s own token path is unchanged', () => {
233233
const rows = await tokenRows(rig);
234234
expect(rows).toHaveLength(2);
235235
expect(rows.filter((r) => r.consumed_at).map((r) => r.action)).toEqual(['approve']);
236-
const request: any = await rig.engine.findOne('sys_approval_request', { where: { id: rig.requestId }, context: SYSTEM } as any);
236+
const request: any = await rig.engine.findOne('sys_approval_request', { where: { id: rig.requestId }, context: SYSTEM } satisfies EngineQueryOptions);
237237
expect(request?.status).toBe('approved');
238238
});
239239
});

0 commit comments

Comments
 (0)